Skip to content

Add test scenario CHILD-NS-CNAME-4#1348

Merged
marc-vanderwal merged 4 commits into
zonemaster:release-v2024.2.1from
marc-vanderwal:feature/child-ns-cname-4
Feb 4, 2025
Merged

Add test scenario CHILD-NS-CNAME-4#1348
marc-vanderwal merged 4 commits into
zonemaster:release-v2024.2.1from
marc-vanderwal:feature/child-ns-cname-4

Conversation

@marc-vanderwal

Copy link
Copy Markdown
Contributor

Purpose

This PR adds a new test scenario to help reproduce the bug described in zonemaster/zonemaster-engine#1421. The fix in zonemaster/zonemaster-engine#1422 lacks unit tests at the time of writing and this PR should help adding one.

For now, I’ve verified that the scenario faithfully reproduces the bug and that the fix in Zonemaster-Engine also works with this scenario.

Context

See zonemaster/zonemaster-engine#1421 (bug description) and zonemaster/zonemaster-engine#1422 (fix).

Changes

  • Add a new test scenario, CHILD-NS-CNAME-4;
  • Some drive-by fixes of typos I encountered along the way.

How to test this PR

N/A.

Merge master into develop (zonemaster/zonemaster)
This scenario is similar to CHILD-NS-CNAME-1, but is a little bit more
involved.

Its real purpose is to help reproduce the issue documented in
zonemaster-engine#1421. It is similar to a misconfigured zone seen “in
the wild” that made Zonemaster::Engine’s resolver enter an infinite
loop.
@tgreenx tgreenx changed the base branch from develop to release-v2024.2.1 February 3, 2025 13:06

@tgreenx tgreenx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Note that I've changed the base branch to release-v2024.2.1.

@marc-vanderwal marc-vanderwal merged commit 5f72086 into zonemaster:release-v2024.2.1 Feb 4, 2025
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.

3 participants