Selaa lähdekoodia

[desktop] Up the thread_util.dump_traceback timeouts

Erick Tryzelaar 10 vuotta sitten
vanhempi
commit
50e66c6
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      desktop/core/src/desktop/lib/thread_util_test.py

+ 2 - 2
desktop/core/src/desktop/lib/thread_util_test.py

@@ -29,7 +29,7 @@ def test_dump_traceback():
   class Thread(threading.Thread):
     def run(self):
       started.set()
-      assert_true(stop.wait(1.0))
+      assert_true(stop.wait(10.0))
 
   thread = Thread(name='thread_util_test thread')
   thread.start()
@@ -38,7 +38,7 @@ def test_dump_traceback():
   header = 'Thread thread_util_test thread %s' % thread_ident
 
   try:
-    assert_true(started.wait(1.0))
+    assert_true(started.wait(10.0))
 
     out = StringIO.StringIO()
     dump_traceback(file=out)