-
Notifications
You must be signed in to change notification settings - Fork 33
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
New unit tests for Delegation01, -02 and -03, and legacy tests are removed #1395
New unit tests for Delegation01, -02 and -03, and legacy tests are removed #1395
Conversation
5039ed5
to
076c30c
Compare
9e7362c
to
2433036
Compare
@mattias-p, @marc-vanderwal, @tolvmannen, @tgreenx -- please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine. Just some really minor nits.
Co-authored-by: Marc van der Wal <[email protected]>
Co-authored-by: Marc van der Wal <[email protected]>
e8f3990
to
e88bef4
Compare
@marc-vanderwal, please re-review. |
The merge-base changed after approval.
The merge-base changed after approval.
@marc-vanderwal, I do not know what "The merge-base changed after approval" really means. I did not do anything. |
Isn’t it because PRs are being merged in the |
The merge-base changed after approval.
It has only been rebased once, and that was on top of ommit e9060d1. I have never seen this behavior before. |
The merge-base changed after approval.
Looks like a known bug in Github: https://github.com/orgs/community/discussions/58535?sort=top Re-selecting the base branch seems to make it go away. |
After the approval by @marc-vanderwal there as been no change, just execution of the Github bug. |
Purpose
This PR implements the scenarios and test zones for Delegation01, Delegation02 and Delegation03 defined in zonemaster/zonemaster#1305.
This PR is built on top of commit b276cf8 in PR #1393 to get updated version of
t/TestUtil.pm
.Old legacy unit tests files are removed. The zones behind most of them will soon be removed.
In unit test file
t/Test-delegation.t
legacy tests and commented code have been removed. The file, however, cannot be rerecorded due to changes in zones not controlled by Zonemaster.Some scenarios for Delegation01 cannot be included due to bug or bugs in the implementation (not in the scope of this PR):
Some scenarios for Delegation02 cannot be included due to bug or bugs in the implementation (not in scope of this PR):
Please note that scenario CHILD-NON-DISTINCT and CHILD-NON-DISTINCT-UND are the same except for that the latter is undelegated. And the latter passes. The same for DEL-NON-DISTINCT and DEL-NON-DISTINCT-UND. This shows that the code does not handle normal and undelegated tests in the sama way. The zone content "poisons" the delegation.
No issues with Delegation03.
Context
zonemaster/zonemaster#1305.
This PR is built on top of #1398. Commit e9060d1 does not belong to this PR.
Changes
...
How to test this PR