Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r66197:d2d78b9065ec
Date: 2013-08-18 21:46 +0200
http://bitbucket.org/pypy/pypy/changeset/d2d78b9065ec/

Log:    Increase the pause times. The tests failed today but I cannot
        reproduce, so I'm guessing it was because the machine was busy and
        the tests don't give enough time.

diff --git a/pypy/module/__pypy__/test/test_signal.py 
b/pypy/module/__pypy__/test/test_signal.py
--- a/pypy/module/__pypy__/test/test_signal.py
+++ b/pypy/module/__pypy__/test/test_signal.py
@@ -34,7 +34,7 @@
                     thread.interrupt_main()
                     for i in range(10):
                         print('x')
-                        time.sleep(0.1)
+                        time.sleep(0.25)
             except BaseException, e:
                 interrupted.append(e)
             finally:
@@ -59,7 +59,7 @@
                 for j in range(10):
                     if len(done): break
                     print('.')
-                    time.sleep(0.1)
+                    time.sleep(0.25)
                 print('main thread loop done')
                 assert len(done) == 1
                 assert len(interrupted) == 1
@@ -117,7 +117,7 @@
 
         def subthread():
             try:
-                time.sleep(0.25)
+                time.sleep(0.5)
                 with __pypy__.thread.signals_enabled:
                     thread.interrupt_main()
             except BaseException, e:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to