diff options
author | Indrajit Raychaudhuri <irc@indrajit.com> | 2024-01-19 01:24:17 -0600 |
---|---|---|
committer | Indrajit Raychaudhuri <irc@indrajit.com> | 2024-01-21 13:29:25 -0600 |
commit | 22c8bea36da0a546abcc528dc12a97cd6a0c3b10 (patch) | |
tree | 5f0c6d0ead545e683489fbb3490dff044e857406 /smoketest/scripts | |
parent | 1c1fb5fb4bd7c0d205b28caf90357ad56423464f (diff) | |
download | vyos-1x-22c8bea36da0a546abcc528dc12a97cd6a0c3b10.tar.gz vyos-1x-22c8bea36da0a546abcc528dc12a97cd6a0c3b10.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.
Diffstat (limited to 'smoketest/scripts')
-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]) |