Skip to content

Do not fail the test suite for a remote server that is down.#1329

Merged
gouttegd merged 1 commit intomasterfrom
skip-identifiersdotorg-test-upon-http-error
Mar 1, 2026
Merged

Do not fail the test suite for a remote server that is down.#1329
gouttegd merged 1 commit intomasterfrom
skip-identifiersdotorg-test-upon-http-error

Conversation

@gouttegd
Copy link
Copy Markdown
Collaborator

@gouttegd gouttegd commented Mar 1, 2026

The test suite may fail if the resolver at identifiers.org is down, because the test for IdentifiersDotOrg performs a live call to that server to ensure that we can resolve identifiers using that service.

The proper solution here would be to mock the identifiers.org service in the test suite, so that the test suite is completely independent of the remote service, but for now, we will at least detect whether the resolution failure is explained by a HTTP error, and if so we simply skip the test.

The test suite may fail if the resolver at identifiers.org is down,
because the test for IdentifiersDotOrg performs a live call to that
server to ensure that we can resolve identifiers using that service.

The proper solution here would be to mock the identifiers.org service in
the test suite, so that the test suite is completely independent of the
remote service, but for now, we will at least detect whether the
resolution failure is explained by a HTTP error, and if so we simply
skip the test.
@gouttegd gouttegd self-assigned this Mar 1, 2026
@gouttegd gouttegd merged commit 2b31c43 into master Mar 1, 2026
6 checks passed
@gouttegd gouttegd deleted the skip-identifiersdotorg-test-upon-http-error branch March 1, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant