mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
Move root zone mirror system test to a separate directory
This test doesn't require artifact checking but when bundled in the same directory with the shell based tests, the `system:clang:tsan` job was failing non-deterministically.
This commit is contained in:
parent
7bd3547c98
commit
d5874d5df9
@ -17,12 +17,12 @@ key rndc_key {
|
|||||||
};
|
};
|
||||||
|
|
||||||
controls {
|
controls {
|
||||||
inet 10.53.0.4 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
inet 10.53.0.1 port @CONTROLPORT@ allow { any; } keys { rndc_key; };
|
||||||
};
|
};
|
||||||
|
|
||||||
options {
|
options {
|
||||||
pid-file "named.pid";
|
pid-file "named.pid";
|
||||||
listen-on port @PORT@ {10.53.0.4;};
|
listen-on port @PORT@ {10.53.0.1;};
|
||||||
};
|
};
|
||||||
|
|
||||||
zone "." { type mirror; };
|
zone "." { type mirror; };
|
@ -21,7 +21,7 @@ def test_mirror_root_zone(servers: Dict[str, NamedInstance]):
|
|||||||
This test pulls the root zone from the Internet, so let's only run
|
This test pulls the root zone from the Internet, so let's only run
|
||||||
it when CI_ENABLE_LIVE_INTERNET_TESTS is set.
|
it when CI_ENABLE_LIVE_INTERNET_TESTS is set.
|
||||||
"""
|
"""
|
||||||
ns4 = servers["ns4"]
|
ns1 = servers["ns1"]
|
||||||
with ns4.watch_log_from_start() as watch_log:
|
with ns1.watch_log_from_start() as watch_log:
|
||||||
# TimeoutError is raised if the line is not found and the test will fail.
|
# TimeoutError is raised if the line is not found and the test will fail.
|
||||||
watch_log.wait_for_line("Transfer status: success")
|
watch_log.wait_for_line("Transfer status: success")
|
Loading…
x
Reference in New Issue
Block a user