[pypy-commit] pypy default: try a new ip for testing timeout
bdkearns
noreply at buildbot.pypy.org
Wed Apr 23 08:27:34 CEST 2014
Author: Brian Kearns <bdkearns at gmail.com>
Branch:
Changeset: r70882:31e6f79cf3eb
Date: 2014-04-23 02:26 -0400
http://bitbucket.org/pypy/pypy/changeset/31e6f79cf3eb/
Log: try a new ip for testing timeout
diff --git a/rpython/rlib/test/test_rsocket.py b/rpython/rlib/test/test_rsocket.py
--- a/rpython/rlib/test/test_rsocket.py
+++ b/rpython/rlib/test/test_rsocket.py
@@ -340,12 +340,8 @@
def test_connect_with_timeout_fail():
s = RSocket()
s.settimeout(0.1)
- if sys.platform == 'win32':
- addr = '169.254.169.254'
- else:
- addr = '240.240.240.240'
with py.test.raises(SocketTimeout):
- s.connect(INETAddress(addr, 12345))
+ s.connect(INETAddress('10.255.255.10', 12345))
s.close()
def test_connect_with_timeout_succeed():
More information about the pypy-commit
mailing list