Skip to content

[3.7] bpo-35518: Skip test that relies on a deceased network service. (GH-15349) #15351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 21, 2019

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 21, 2019

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 5b95a15)

Co-authored-by: Greg Price [email protected]

https://bugs.python.org/issue35518

…onGH-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 5b95a15)

Co-authored-by: Greg Price <[email protected]>
@miss-islington
Copy link
Contributor Author

@gnprice and @benjaminp: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit b9d88e7 into python:3.7 Aug 21, 2019
@miss-islington miss-islington deleted the backport-5b95a15-3.7 branch August 21, 2019 04:11
@miss-islington
Copy link
Contributor Author

@gnprice and @benjaminp: Status check is done, and it's a success ✅ .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants