[tracker-miners/sam/test-runner-fix: 22/33] functional-tests: Remove unnecessary time.sleep()



commit 6169ca445e7873034468f74a747ff68c1524eda1
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Jan 4 20:25:37 2019 +0100

    functional-tests: Remove unnecessary time.sleep()

 tests/functional-tests/300-miner-basic-ops.py | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/tests/functional-tests/300-miner-basic-ops.py b/tests/functional-tests/300-miner-basic-ops.py
index 9a66eb740..5411186f8 100755
--- a/tests/functional-tests/300-miner-basic-ops.py
+++ b/tests/functional-tests/300-miner-basic-ops.py
@@ -74,8 +74,6 @@ class MinerCrawlTest (CommonTrackerMinerTest):
         """
         The precreated files and folders should be there
         """
-        # Maybe the information hasn't been committed yet
-        time.sleep (1)
         result = self.__get_text_documents ()
         self.assertEquals (len (result), 3)
         unpacked_result = [ r[0] for r in result]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]