From c03b729319997b4e38c3f586d7c76352228b22e7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 14 Aug 2008 09:26:30 +0000 Subject: * 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... --- src/libstore/gc.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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' -- cgit 1.4.1