diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-02-19 13:09:17 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-19 13:10:03 +0100 |
commit | 01cde885e352f9d1149a342998470243e533951a (patch) | |
tree | bd51f320aa93b209d365e47475182821c7e5a85a /smoketest/scripts/cli/test_service_dhcp-server.py | |
parent | 350b96e1b6faf8f27a7b0b3070ba66c6461cacd1 (diff) | |
download | vyos-1x-01cde885e352f9d1149a342998470243e533951a.tar.gz vyos-1x-01cde885e352f9d1149a342998470243e533951a.zip |
smoketest: T4258: dhcp: bugfix failover ports
Commit 5fc9ef9e ("DHCP : T4258: Set correct port for dhcp-failover") changed
how the failover port is rendered into the ISC DHCPd configuration - adjustment
of the smoketests was missed out.
(cherry picked from commit 29ba813fb65b8b292105cdae4f8f71fcce6350a1)
Diffstat (limited to 'smoketest/scripts/cli/test_service_dhcp-server.py')
-rwxr-xr-x | smoketest/scripts/cli/test_service_dhcp-server.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_service_dhcp-server.py b/smoketest/scripts/cli/test_service_dhcp-server.py index 14666db15..9adb9c042 100755 --- a/smoketest/scripts/cli/test_service_dhcp-server.py +++ b/smoketest/scripts/cli/test_service_dhcp-server.py @@ -461,12 +461,11 @@ class TestServiceDHCPServer(VyOSUnitTestSHIM.TestCase): self.assertIn(f'mclt 1800;', config) self.assertIn(f'mclt 1800;', config) self.assertIn(f'split 128;', config) - self.assertIn(f'port 520;', config) - self.assertIn(f'peer port 520;', config) + self.assertIn(f'port 647;', config) + self.assertIn(f'peer port 647;', config) self.assertIn(f'max-response-delay 30;', config) self.assertIn(f'max-unacked-updates 10;', config) self.assertIn(f'load balance max seconds 3;', config) - self.assertIn(f'peer port 520;', config) self.assertIn(f'address {failover_local};', config) self.assertIn(f'peer address {failover_remote};', config) |