Skip to content
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

Update obsolete unit test #218

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

marc-vanderwal
Copy link
Contributor

Purpose

This PR updates a unit test in Zonemaster-LDNS made obsolete by a change in the MX resource record set of iis.se. As a consequence, running TEST_WITH_NETWORK=1 make test always failed.

I tried to retain the spirit of the original test by picking another domain with 2 MX records with non-zero preference values and whose MX records have a reasonable expectation of stability.

Context

Preparation of #217.

Changes

  • Change unit test in Zonemaster-LDNS to query MX records for zonemaster.fr instead of iis.se.

How to test this PR

Run TEST_WITH_NETWORK=1 make test. Unit tests should pass.

Running make test with TEST_WITH_NETWORK=1 in the environment fails
because the mail exchange (MX) records for iis.se were changed. Now,
it’s a single record of preference 0 pointing to something within the
“microsoft” TLD.

I tried to retain the spirit of the original test by picking another
domain with 2 MX records with non-zero preference values and whose MX
records have a reasonable expectation of stability.
@marc-vanderwal marc-vanderwal force-pushed the update-obsolete-unit-test branch from 1ac9085 to 2d45e56 Compare January 29, 2025 09:15
@tgreenx tgreenx added the V-Patch Versioning: The change gives an update of patch in version. label Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V-Patch Versioning: The change gives an update of patch in version.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants