diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-08-21 04:08:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-21 04:08:57 (GMT) |
commit | 44f2c096804e8e3adc09400a59ef9c9ae843f339 (patch) | |
tree | 7c38d8a3d08c15eb961e47a820c58b348f9491fa /Lib | |
parent | 30e5aff5fb0e3841107ddd4539a1f5b8521c80fb (diff) | |
download | cpython-44f2c096804e8e3adc09400a59ef9c9ae843f339.zip cpython-44f2c096804e8e3adc09400a59ef9c9ae843f339.tar.gz cpython-44f2c096804e8e3adc09400a59ef9c9ae843f339.tar.bz2 |
bpo-35518: Skip test that relies on a deceased network service. (GH-15349)
If this service had thoroughly vanished, we could just ignore the
test until someone gets around to either recreating such a service
or redesigning the test to somehow work locally. The
`support.transient_internet` mechanism catches the failure to
resolve the domain name, and skips the test.
But in fact the domain snakebite.net does still exist, as do its
nameservers -- and they can be quite slow to reply. As a result
this test can easily take 20-30s before it gets auto-skipped.
So, skip the test explicitly up front.
(cherry picked from commit 5b95a1507e349da5adae6d2ab57deac3bdd12f15)
Co-authored-by: Greg Price <gnprice@gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_timeout.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index b54fc82..b07c07c 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -150,6 +150,7 @@ class TCPTimeoutTestCase(TimeoutTestCase): def tearDown(self): self.sock.close() + @unittest.skipIf(True, 'need to replace these hosts; see bpo-35518') def testConnectTimeout(self): # Testing connect timeout is tricky: we need to have IP connectivity # to a host that silently drops our packets. We can't simulate this |