[Python-checkins] r43517 - python/branches/release24-maint/Lib/test/test_socket_ssl.py
tim.peters
python-checkins at python.org
Sat Apr 1 03:31:18 CEST 2006
Author: tim.peters
Date: Sat Apr 1 03:31:04 2006
New Revision: 43517
Modified:
python/branches/release24-maint/Lib/test/test_socket_ssl.py
Log:
Merge rev 43516 from trunk.
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.
Modified: python/branches/release24-maint/Lib/test/test_socket_ssl.py
==============================================================================
--- python/branches/release24-maint/Lib/test/test_socket_ssl.py (original)
+++ python/branches/release24-maint/Lib/test/test_socket_ssl.py Sat Apr 1 03:31:04 2006
@@ -28,23 +28,27 @@
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 thread
More information about the Python-checkins
mailing list