diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-08-14T09·26+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-08-14T09·26+0000 |
commit | c03b729319997b4e38c3f586d7c76352228b22e7 (patch) | |
tree | 90b7d1288117975295b7d6f990c5f9e6698775a5 /src/libstore | |
parent | 5664b6d7ba28453ccdd6d1c07a707f98608500ff (diff) |
* Increase the sleep periods a bit to make the test less likely to
fail on slow machines. Of course it would be better if this test wasn't timing dependent...
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/gc.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc index 8f5a1b6e5c99..a960281ece88 100644 --- a/src/libstore/gc.cc +++ b/src/libstore/gc.cc @@ -638,10 +638,6 @@ void LocalStore::collectGarbage(const GCOptions & options, GCResults & results) else tempRootsClosed.insert(*i); - /* For testing - see tests/gc-concurrent.sh. */ - if (getenv("NIX_DEBUG_GC_WAIT")) - sleep(2); - /* After this point the set of roots or temporary roots cannot increase, since we hold locks on everything. So everything that is not currently in in `livePaths' or `tempRootsClosed' |