]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35518: Skip test that relies on a deceased network service. (GH-15349)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 21 Aug 2019 04:11:25 +0000 (21:11 -0700)
committerGitHub <noreply@github.com>
Wed, 21 Aug 2019 04:11:25 +0000 (21:11 -0700)
commitb9d88e771238b5098842cad8a6ad624621f3f62e
tree00ce6a74dbab9764ddb4bbfd253e164a72c96415
parentc9a484a1e76384680b90454018389465760dbeae
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>
Lib/test/test_timeout.py