[Python-checkins] r61658 - python/trunk/Lib/test/test_socketserver.py
trent.nelson
python-checkins at python.org
Thu Mar 20 01:58:44 CET 2008
Author: trent.nelson
Date: Thu Mar 20 01:58:44 2008
New Revision: 61658
Modified:
python/trunk/Lib/test/test_socketserver.py
Log:
Revert r61650; the intent of this commit was to try and address alarm failures on some of the build slaves. As Neal points out, it's called after test_main(), so it's not going to factor into the test when run via regrtest.py (and removes the original functionality that Jeffrey wanted that would kill the test if it took longer than 3 seconds to run when executing it directly during development).
Modified: python/trunk/Lib/test/test_socketserver.py
==============================================================================
--- python/trunk/Lib/test/test_socketserver.py (original)
+++ python/trunk/Lib/test/test_socketserver.py Thu Mar 20 01:58:44 2008
@@ -253,7 +253,4 @@
if __name__ == "__main__":
test_main()
- # 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)
+ signal_alarm(3) # Shutdown shouldn't take more than 3 seconds.
More information about the Python-checkins
mailing list