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:18:33 +0100 |
commit | f88112888d9b07f230f1294ce06a7714f957e694 (patch) | |
tree | bba9e1ae0179f96e38f522dd69b5f718bd3b5b97 /smoketest | |
parent | 235aa6098fef3b398505835acbf42d4723b22d49 (diff) | |
download | vyos-1x-f88112888d9b07f230f1294ce06a7714f957e694.tar.gz vyos-1x-f88112888d9b07f230f1294ce06a7714f957e694.zip |
smoketest: vrrp: passwords are only allowed 8 characters long
(cherry picked from commit 55f6c1352fc5b2b8d051497e7fe97a4e62caf1fe)
Diffstat (limited to 'smoketest')
-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 c14eea015..23a9f7796 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): |