[pypy-commit] pypy default: test_forked_can_thread failed today on linux64. No clue, but try

arigo noreply at buildbot.pypy.org
Thu Jun 13 10:01:27 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r64869:9b623bc48b59
Date: 2013-06-13 10:00 +0200
http://bitbucket.org/pypy/pypy/changeset/9b623bc48b59/

Log:	test_forked_can_thread failed today on linux64. No clue, but try
	randomly to increase the kill timer, in case it was due to very high
	loads.

diff --git a/pypy/module/thread/test/test_fork.py b/pypy/module/thread/test/test_fork.py
--- a/pypy/module/thread/test/test_fork.py
+++ b/pypy/module/thread/test/test_fork.py
@@ -28,7 +28,7 @@
                 if pid == 0:
                     os._exit(0)
                 else:
-                    self.timeout_killer(pid, 5)
+                    self.timeout_killer(pid, 10)
                     exitcode = os.waitpid(pid, 0)[1]
                     assert exitcode == 0 # if 9, process was killed by timer!
             finally:
@@ -54,7 +54,7 @@
                 thread.start_new_thread(lambda: None, ())
                 os._exit(0)
             else:
-                self.timeout_killer(pid, 5)
+                self.timeout_killer(pid, 10)
                 exitcode = os.waitpid(pid, 0)[1]
                 assert exitcode == 0 # if 9, process was killed by timer!
 
@@ -73,7 +73,7 @@
                 signal.signal(signal.SIGUSR1, signal.SIG_IGN)
                 os._exit(42)
             else:
-                self.timeout_killer(pid, 5)
+                self.timeout_killer(pid, 10)
                 exitcode = os.waitpid(pid, 0)[1]
                 feedback.append(exitcode)
 


More information about the pypy-commit mailing list