commit 59c8e1ec08e05d0c3225d58df2804ff838b1509a Author: Isis Lovecruft isis@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)
tor-commits@lists.torproject.org