]> granicus.if.org Git - python/commit
bpo-35518: Skip test that relies on a deceased network service. (GH-15349)
authorGreg Price <gnprice@gmail.com>
Wed, 21 Aug 2019 03:50:51 +0000 (20:50 -0700)
committerBenjamin Peterson <benjamin@python.org>
Wed, 21 Aug 2019 03:50:50 +0000 (20:50 -0700)
commit5b95a1507e349da5adae6d2ab57deac3bdd12f15
tree990b08443a3d771c5d88065f592dd8885f5df92a
parentd33e46d17d33f9b918846982c02ddc17d897c9bc
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.
Lib/test/test_timeout.py