-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Labels
S-PRforIssueStatus: There is a PR that is meant to resolve the issueStatus: There is a PR that is meant to resolve the issueT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description
Milestone
Description
Currently, in some cases the messages header is displayed too late (i.e. after some calls to Engine are done). Specifically, when using either option --ns or --ds, it can be seen in case of any system error (SYSTEM:UNSPECIFIED), e.g:
$ zonemaster-cli --show-testcase --no-ipv6 --test basic/basic01 zonemaster.net --ns 'ns1.zonemaster.net'
0.72 ERROR UNSPECIFIED The fake delegation of domain zonemaster.net includes an in-zone name server ns1.zonemaster.net without mandatory glue (without IP address).
Seconds Level Testcase Message
======= ======== ============== =======
I suggest that the code displaying the header is moved earlier in the code. A more appropriate place would be just after the successful normalization of the input domain name (e.g. line 565 or line 578).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
S-PRforIssueStatus: There is a PR that is meant to resolve the issueStatus: There is a PR that is meant to resolve the issueT-BugType: Bug in software or error in test case descriptionType: Bug in software or error in test case description