You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#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.
The text was updated successfully, but these errors were encountered:
Partly fixed by #1402, which fixes the leaking but also disable the testing of those test cases for pre-recorded data. A more complete solution would need to use a fixed seed, see #1402 (comment).
#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.
The text was updated successfully, but these errors were encountered: