diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-10-01 15:01:15 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-10-01 15:01:41 +0200 |
commit | 75559f559cb13a83089d68d7fbd63fd0e8a02a46 (patch) | |
tree | 3ab5b914e4ba0c197629f8cfb3d773a5962e1622 | |
parent | 2974628487abb9127922bf695331fd706a1d0e51 (diff) | |
download | vyos-1x-75559f559cb13a83089d68d7fbd63fd0e8a02a46.tar.gz vyos-1x-75559f559cb13a83089d68d7fbd63fd0e8a02a46.zip |
smoketest: vrrp: validate rfc3768-compatibility is not set
(cherry picked from commit eab6e6830a566af647d7e1b24197bf945788c3d0)
-rwxr-xr-x | smoketest/scripts/cli/test_ha_vrrp.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py index bbf24095b..8c5bb86d8 100755 --- a/smoketest/scripts/cli/test_ha_vrrp.py +++ b/smoketest/scripts/cli/test_ha_vrrp.py @@ -81,6 +81,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): self.assertIn(f'priority 100', config) # default value self.assertIn(f'advert_int 1', config) # default value self.assertIn(f'preempt_delay 0', config) # default value + self.assertNotIn(f'use_vmac', config) self.assertIn(f' {vip}', config) def test_02_simple_options(self): @@ -158,6 +159,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): self.assertIn(f'interface {vrrp_interface}.{vlan_id}', config) self.assertIn(f'virtual_router_id {vlan_id}', config) + self.assertNotIn(f'use_vmac', config) self.assertIn(f' {vip}', config) config = getConfig(f'vrrp_sync_group {sync_group}') @@ -166,4 +168,4 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): self.assertIn(f'{group}', config) if __name__ == '__main__': - unittest.main(verbosity=2, failfast=True) + unittest.main(verbosity=2) |