about summary refs log tree commit diff
path: root/tests/gc-concurrent.sh (follow)
AgeCommit message (Collapse)AuthorFilesLines
2014-08-21 Fix testsEelco Dolstra1-4/+4
So all these years I was totally deluded about the meaning of "set -e". You might think that it causes statements like "false && true" or "! true" to fail, but it doesn't...
2011-10-10 * Refactoring: remove unnecessary variables from the tests.Eelco Dolstra1-10/+10
2009-03-27 * Argh, stupid timing sensitive tests...Eelco Dolstra1-4/+4
2009-03-18 * Acquire the locks on the output paths before trying to run the buildEelco Dolstra1-3/+3
hook. This fixes a problem with log files being partially or completely filled with 0's because another nix-store process truncates the log file. It should also be more efficient.
2009-03-17 * Refactoring: renamed *.nix.in to *.nix.Eelco Dolstra1-2/+2
2008-12-12 * Simplify deleting .lock files in /nix/store: just don't delete themEelco Dolstra1-2/+18
if they belong a path that's currently being built. This gets rid of some Cygwin-specific code.
2008-08-14 * Increase the sleep periods a bit to make the test less likely toEelco Dolstra1-9/+11
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 Dolstra1-1/+4
2006-03-01 * Simplification.Eelco Dolstra1-6/+6
2006-03-01 * Make it easy to run individual tests from the command line.Eelco Dolstra1-0/+2
2005-02-09 * Propagate the deriver of a path through the substitute mechanism.Eelco Dolstra1-7/+7
* 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 Dolstra1-3/+1
2005-01-31 * Acquire a global GC lock to prevent new temporary root files fromEelco Dolstra1-0/+3
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 Dolstra1-13/+26
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 Dolstra1-1/+3
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 Dolstra1-0/+19
running the collector while builds are in progress) works correctly. The test currently fails.