aboutsummaryrefslogtreecommitdiff
path: root/tests/gc-concurrent.sh
AgeCommit message (Collapse)Author
2008-08-14* Increase the sleep periods a bit to make the test less likely toEelco Dolstra
fail on slow machines. Of course it would be better if this test wasn't timing dependent...
2006-03-01* Add a test for nix-log2xml.Eelco Dolstra
2006-03-01* Simplification.Eelco Dolstra
2006-03-01* Make it easy to run individual tests from the command line.Eelco Dolstra
2005-02-09* Propagate the deriver of a path through the substitute mechanism.Eelco Dolstra
* Removed some dead code (successor stuff) from nix-push. * Updated terminology in the tests (store expr -> drv path). * Check that the deriver is set properly in the tests.
2005-02-01* Make check fixes.Eelco Dolstra
2005-01-31* Acquire a global GC lock to prevent new temporary root files fromEelco Dolstra
being created after the garbage collector has read the temproots directory. This blocks the creation of new processes, but the garbage collector could periodically release the GC lock to allow them to run.
2005-01-31* Add a test for a more subtle race: a process starting after theEelco Dolstra
temporary root files have been read but creating outputs before the store directory has been read.
2005-01-31* Start of concurrent garbage collection. Processes write temporaryEelco Dolstra
roots to a per-process temporary file in /nix/var/nix/temproots while holding a write lock on that file. The garbage collector acquires read locks on all those files, thus blocking further progress in other Nix processes, and reads the sets of temporary roots.
2005-01-28* Add a test to check whether concurrent garbage collection (i.e.,Eelco Dolstra
running the collector while builds are in progress) works correctly. The test currently fails.