about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2008-08-14T09·26+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2008-08-14T09·26+0000
commitc03b729319997b4e38c3f586d7c76352228b22e7 (patch)
tree90b7d1288117975295b7d6f990c5f9e6698775a5 /src
parent5664b6d7ba28453ccdd6d1c07a707f98608500ff (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')
-rw-r--r--src/libstore/gc.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libstore/gc.cc b/src/libstore/gc.cc
index 8f5a1b6e5c..a960281ece 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'