]> git.ipfire.org Git - thirdparty/bind9.git/commit
Allow to use an arbitrary numeric identifier for NamedInstance
authorNicki Křížek <nicki@isc.org>
Fri, 24 Jan 2025 09:35:06 +0000 (10:35 +0100)
committerMichal Nowak <mnowak@isc.org>
Tue, 4 Feb 2025 12:35:38 +0000 (12:35 +0000)
commita24f71bae474c97f546353fc9ed5df8633f117ff
tree7553103307a4236350f199d9dec2040d08be267e
parent37699ad84b40aef38d6596d49f9625454a13cdac
Allow to use an arbitrary numeric identifier for NamedInstance

In some cases, the numeric identifier doesn't correspond to the
directory name (i.e. `resolver` server in `shutdown` test, which is
supposed to be 10.53.0.3). These are typically servers that shouldn't be
auto-started by the runner, thus avoiding the typical `*ns<X>` name.

Support these server by allowing a fallback initialization with custom
numeric identifier in case it can't be parsed from the directory name.
bin/tests/system/isctest/instance.py
bin/tests/system/isctest/run.py
bin/tests/system/shutdown/tests_shutdown.py