[Python-checkins] r45453 - python/trunk/Lib/test/test_timeout.py (original) (raw)
thomas.wouters python-checkins at python.org
Sun Apr 16 17:22:41 CEST 2006
- Previous message: [Python-checkins] r45452 - python/trunk/Lib/test/leakers/test_tee.py
- Next message: [Python-checkins] r45454 - python/trunk/Lib/test/test_warnings.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: thomas.wouters Date: Sun Apr 16 17:22:41 2006 New Revision: 45453
Modified: python/trunk/Lib/test/test_timeout.py Log:
Specialcase 'xs4all' (.nl/.net/.com/whatever else we have) as well as 'python.org' when deciding what server to use for the timeout tests; getting tired of seeing the test fail on all my boxes ;P This'll still allow the test to fail for hosts in the XS4ALL network that don't have an 'xs4all' hostname, so maybe it should use a fallback scheme instead.
Modified: python/trunk/Lib/test/test_timeout.py
--- python/trunk/Lib/test/test_timeout.py (original) +++ python/trunk/Lib/test/test_timeout.py Sun Apr 16 17:22:41 2006 @@ -113,7 +113,8 @@
# If we are too close to www.python.org, this test will fail.
# Pick a host that should be farther away.
if socket.getfqdn().split('.')[-2:] == ['python', 'org']:
if (socket.getfqdn().split('.')[-2:] == ['python', 'org'] or
socket.getfqdn().split('.')[-2] == 'xs4all'): self.addr_remote = ('tut.fi', 80) _t1 = time.time()
- Previous message: [Python-checkins] r45452 - python/trunk/Lib/test/leakers/test_tee.py
- Next message: [Python-checkins] r45454 - python/trunk/Lib/test/test_warnings.py
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]