summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-11 00:04:44 +0100
committerGitHub <noreply@github.com>2023-11-11 00:04:44 +0100
commitc29321304ba83a37cb5584e2719505fa9ca8e2e8 (patch)
tree47d716f921c9015f657d46501bd310494841ef1a
parent1fcb8637f864e13c5208bed22f3a065b5d78f596 (diff)
parent10152f7ac1376bacdfe5adade55dfdbbd39f408e (diff)
downloadvyos-1x-c29321304ba83a37cb5584e2719505fa9ca8e2e8.tar.gz
vyos-1x-c29321304ba83a37cb5584e2719505fa9ca8e2e8.zip
Merge pull request #2470 from indrajitr/ddclient-smoketest-20231109
ddclient: T5708: Fix VRF table generation in smoketest
-rwxr-xr-xsmoketest/scripts/cli/test_service_dns_dynamic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_service_dns_dynamic.py b/smoketest/scripts/cli/test_service_dns_dynamic.py
index a3b220f69..fe213a8ae 100755
--- a/smoketest/scripts/cli/test_service_dns_dynamic.py
+++ b/smoketest/scripts/cli/test_service_dns_dynamic.py
@@ -297,7 +297,8 @@ class TestServiceDDNS(VyOSUnitTestSHIM.TestCase):
self.assertIn(f'{hostname}', ddclient_conf)
def test_07_dyndns_vrf(self):
- vrf_table = "".join(random.choices(string.digits, k=5))
+ # Table number randomized, but should be within range 100-65535
+ vrf_table = "".join(random.choices(string.digits, k=4))
vrf_name = f'vyos-test-{vrf_table}'
svc_path = ['address', interface, 'service', 'cloudflare']