]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if...
authorTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 22:51:42 +0000 (22:51 +0000)
committerTrent Nelson <trent.nelson@snakebite.org>
Wed, 19 Mar 2008 22:51:42 +0000 (22:51 +0000)
Lib/test/test_socketserver.py

index bd25f57f7551af785bc122850e52faa8bb328667..caac24a302c657ec007101e8806145520c016468 100644 (file)
@@ -253,4 +253,7 @@ def test_main():
 
 if __name__ == "__main__":
     test_main()
-    signal_alarm(3)  # Shutdown shouldn't take more than 3 seconds.
+    # Signal an alarm after 20 seconds if we haven't shut down.  This
+    # was originally 3 seconds, but has been bumped as numerous build
+    # slaves have been failing with SIGALMs on this test.
+    signal_alarm(20)