Mercurial > cpython-lru_cache-weakref
diff Lib/test/test_socketserver.py @ 71326:d3cebbd500aa 2.7
Issue #12250: test_socketserver uses a timeout of 60 seconds instead of 20
test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Thu, 14 Jul 2011 14:53:24 +0200 |
| parents | b36cb4602e21 |
| children | f09e3b1603ee |
line wrap: on
line diff
--- a/Lib/test/test_socketserver.py Thu Jul 14 14:41:43 2011 +0800 +++ b/Lib/test/test_socketserver.py Thu Jul 14 14:53:24 2011 +0200 @@ -66,7 +66,7 @@ """Test all socket servers.""" def setUp(self): - signal_alarm(20) # Kill deadlocks after 20 seconds. + signal_alarm(60) # Kill deadlocks after 60 seconds. self.port_seed = 0 self.test_files = [] @@ -281,4 +281,3 @@ if __name__ == "__main__": test_main() - signal_alarm(3) # Shutdown shouldn't take more than 3 seconds.
