summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorTrent Nelson <trent.nelson@snakebite.org>2008-03-19 22:51:42 (GMT)
committerTrent Nelson <trent.nelson@snakebite.org>2008-03-19 22:51:42 (GMT)
commita0ce6b6b7123378f0a13bd3b9dfd9eb9eeea2eb2 (patch)
treeb7d94abf60c2f00edf737fe5687123bb00a9e6d2 /Lib/test
parentc71d2a9afd518ed264a129a55bc9c399fe173df2 (diff)
downloadcpython-a0ce6b6b7123378f0a13bd3b9dfd9eb9eeea2eb2.zip
cpython-a0ce6b6b7123378f0a13bd3b9dfd9eb9eeea2eb2.tar.gz
cpython-a0ce6b6b7123378f0a13bd3b9dfd9eb9eeea2eb2.tar.bz2
Bump the SIGALM delay from 3 seconds to 20 seconds, mainly in an effort to see if it fixes the alarm failures in this test experienced by some of the buildbots.
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_socketserver.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/test/test_socketserver.py b/Lib/test/test_socketserver.py
index bd25f57..caac24a 100644
--- a/Lib/test/test_socketserver.py
+++ b/Lib/test/test_socketserver.py
@@ -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)