[tor-commits] [bridgedb/develop] Decrease sleep time in server startup unittest.

isis at torproject.org isis at torproject.org
Tue Apr 8 15:35:49 UTC 2014


commit 59c8e1ec08e05d0c3225d58df2804ff838b1509a
Author: Isis Lovecruft <isis at torproject.org>
Date:   Mon Apr 7 16:40:02 2014 +0000

    Decrease sleep time in server startup unittest.
---
 lib/bridgedb/test/test_bridgedb.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/bridgedb/test/test_bridgedb.py b/lib/bridgedb/test/test_bridgedb.py
index 3015094..c7aefff 100644
--- a/lib/bridgedb/test/test_bridgedb.py
+++ b/lib/bridgedb/test/test_bridgedb.py
@@ -95,8 +95,8 @@ class BridgeDBCliTest(unittest.TestCase):
         # Sorry Windows users
         devnull = open('/dev/null', 'w')
         bridgedbProc = Popen([bridgedbScript, '-r', runDir], stdout=devnull)
-        print("Waiting 30 seconds while bridgedb loads...")
-        time.sleep(30)
+        print("Waiting 10 seconds while bridgedb loads...")
+        time.sleep(10)
         assignments = pjoin(runDir, 'assignments.log')
         self.assertTrue(os.path.isfile(assignments))
         os.unlink(assignments)





More information about the tor-commits mailing list