Skip to content

Find a way to unit test Nameserver08 and Nameserver09 #1403

@matsduf

Description

@matsduf

#1402 fixes so that the unit tests in t/Test.t do not leak queries when using recorded data (normal case). One consequence is that Nameserver08 and Nameserver08 cannot normally be tested since they cannot be tested with recorded data. The queries from the test cases are are randomly varied, and that does not work with recorded data.

One option is to change the test cases so that they always send fixed queries, maybe to the price that they send multiple, but fixed queries.

Another option is to let CI do the testing. A small name server could probably be started there. The test would then be a live test, but only locally. Such testing could then only be executed in a special setting, on CI and on a test zone server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions