summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2024-01-19 01:24:17 -0600
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-02-01 19:52:15 +0000
commit7255115be80ea14dc53bf7d7382da2da831dc300 (patch)
tree198f38f46a7b4b5b3982160a5ca085de46a42532 /smoketest/scripts/cli
parent3e713e5c96081206c47a44cf044428bcfa27cd02 (diff)
downloadvyos-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)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_service_dns_forwarding.py2
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])