diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-04-01 01:28:51 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-04-01 01:28:51 +0000 |
commit | 4423b8cebcdbdbf55b914375d7b4d010b9ed4dbb (patch) | |
tree | 5fb70fc9fb1d7dea8dacaad8aa6a7a472ab64683 | |
parent | c7403ed183842503f24b36a82980d128db64d2d6 (diff) | |
download | cpython-git-4423b8cebcdbdbf55b914375d7b4d010b9ed4dbb.tar.gz |
test_timeout(): Disable this new test on all platforms.
The
s.connect(("gmail.org", 995))
line has been timing out on all buildbot slaves for hours
now, causing the test to fail.
-rw-r--r-- | Lib/test/test_socket_ssl.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Lib/test/test_socket_ssl.py b/Lib/test/test_socket_ssl.py index a82db5c167..078b6f90ff 100644 --- a/Lib/test/test_socket_ssl.py +++ b/Lib/test/test_socket_ssl.py @@ -27,23 +27,27 @@ def test_basic(): buf = f.read() f.close() -if not sys.platform.startswith('win'): +# XXX Tim disabled this test on all platforms, for now, since the +# XXX s.connect(("gmail.org", 995)) +# XXX line starting timing out on all the builbot slaves. +if 0: not sys.platform.startswith('win'): def test_timeout(): test_support.requires('network') s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(30.0) - # connect to service which issues an welcome banner (without need to write anything) + # connect to service which issues an welcome banner (without need to + # write anything) s.connect(("gmail.org", 995)) ss = socket.ssl(s) - # read part of return welcome banner twice,# read part of return welcome banner twice + # read part of return welcome banner twice ss.read(1) ss.read(1) s.close() else: def test_timeout(): pass - + def test_rude_shutdown(): try: import threading |