diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-04 19:17:30 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-04 19:17:30 +0100 |
commit | 55f6c1352fc5b2b8d051497e7fe97a4e62caf1fe (patch) | |
tree | 98b18b69c9a019661bac6abedb80a70d95e92138 /smoketest/scripts/cli | |
parent | 3fb6f5a966c57cb0936b35c13655f0b3f36483c4 (diff) | |
download | vyos-1x-55f6c1352fc5b2b8d051497e7fe97a4e62caf1fe.tar.gz vyos-1x-55f6c1352fc5b2b8d051497e7fe97a4e62caf1fe.zip |
smoketest: vrrp: passwords are only allowed 8 characters long
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_ha_vrrp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_ha_vrrp.py b/smoketest/scripts/cli/test_ha_vrrp.py index 8582b1519..27ea39870 100755 --- a/smoketest/scripts/cli/test_ha_vrrp.py +++ b/smoketest/scripts/cli/test_ha_vrrp.py @@ -108,7 +108,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): # Authentication self.cli_set(group_base + ['authentication', 'type', 'plaintext-password']) - self.cli_set(group_base + ['authentication', 'password', f'vyos-{group}']) + self.cli_set(group_base + ['authentication', 'password', f'{group}']) # commit changes self.cli_commit() @@ -129,7 +129,7 @@ class TestVRRP(VyOSUnitTestSHIM.TestCase): self.assertIn(f' {vip}', config) # Authentication - self.assertIn(f'auth_pass "vyos-{group}"', config) + self.assertIn(f'auth_pass "{group}"', config) self.assertIn(f'auth_type PASS', config) def test_03_sync_group(self): |