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



commit fffe9a20795dd293c8acd80bdf3ac8fabe99049f
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 25076aba5..a2e85a5f5 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]