diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2024-01-19 01:24:17 -0600 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-02-01 19:52:15 +0000 |
commit | 7255115be80ea14dc53bf7d7382da2da831dc300 (patch) | |
tree | 198f38f46a7b4b5b3982160a5ca085de46a42532 | |
parent | 3e713e5c96081206c47a44cf044428bcfa27cd02 (diff) | |
download | vyos-1x-7255115be80ea14dc53bf7d7382da2da831dc300.tar.gz vyos-1x-7255115be80ea14dc53bf7d7382da2da831dc300.zip |
dns: T5959: Avoid using reserved ports for testing
For example, port 5353 is reserved for multicast DNS, this means tests
will fail if the host running the tests is also running a mDNS server.
(cherry picked from commit 22c8bea36da0a546abcc528dc12a97cd6a0c3b10)
-rwxr-xr-x | smoketest/scripts/cli/test_service_dns_forwarding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_dns_forwarding.py b/smoketest/scripts/cli/test_service_dns_forwarding.py index 8fdcc8c3a..652c4fa7b 100755 --- a/smoketest/scripts/cli/test_service_dns_forwarding.py +++ b/smoketest/scripts/cli/test_service_dns_forwarding.py @@ -280,7 +280,7 @@ class TestServicePowerDNS(VyOSUnitTestSHIM.TestCase): def test_listening_port(self): # We can listen on a different port compared to '53' but only one at a time - for port in ['1053', '5353']: + for port in ['10053', '10054']: self.cli_set(base_path + ['port', port]) for network in allow_from: self.cli_set(base_path + ['allow-from', network]) |