Add test scenario specification for Zone11#1417
Conversation
matsduf
left a comment
There was a problem hiding this comment.
The test zones are not included.
Yes, they’re coming, but I wanted some early feedback on the outline of the test scenarios before completing them. |
34a9b4a to
b3a3162
Compare
Looks fine now. Waiting for the configuration of the test case to be completed.
b3a3162 to
0f3b089
Compare
|
Test zones complete (and tested manually); the only thing I’m missing now is the |
0f3b089 to
53ecb49
Compare
|
Everything complete. I noticed however a mistake in the |
| $ORIGIN zone11.arpa. | ||
| @ NS ns1.zone11.xa. | ||
| @ NS ns2.zone11.xa. | ||
|
|
There was a problem hiding this comment.
This is one way to do it. I have moved to creating test case dedicated root, xa and other zones instead to have as few shared files as possible to cut down the risk of conflicts
matsduf
left a comment
There was a problem hiding this comment.
Looks fine. The final test is when used as unit tests.
| ;; Local Variables: | ||
| ;; mode: dns | ||
| ;; End: |
There was a problem hiding this comment.
Yes, this is to switch to dns-mode instead of fundamental-mode when visiting the file in Emacs.
tgreenx
left a comment
There was a problem hiding this comment.
A few minor comments otherwise LGTM
There was a problem hiding this comment.
(File to be updated before merging)
The overhaul of the test specification for Zone11 (see zonemaster#1415) is a good opportunity to add some test scenarios for that same test case. Of note here are the scenarios that perform tests on three different root zones. They will require three changes to the root hints during unit testing.
Add the test zones and the CoreDNS configuration files implementing the test scenario specification for Zone11.
The parent (root zone) delegates arpa. to ns1. and ns2., but the NS records at the apex of the arpa. zone listed different name servers: ns1.xa and ns2.xa. This inconsistency caused some odd errors when trying to run zonemaster-cli on those test zones, while preparing the test-zones-output.md. This might be the sign of a bug somewhere in Basic02, which should warrant further investigation.
Add the output for test scenarios.
53ecb49 to
c355f40
Compare
|
@marc-vanderwal, please merge. |
Purpose
This PR adds a test scenario specification for Zone11 that matches the test case specification as worded in #1415.
Of note here are the scenarios that perform tests on three different root zones. They will require three changes to the root hints during unit testing.
Context
See #1256 (issue about Zone11).
Depends on #1415 (Zone11 test case specification update).
Changes
How to test this PR
Review.