summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_vpn_ipsec.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-01-07 11:34:20 +0100
committerChristian Breunig <christian@breunig.cc>2024-01-08 21:13:04 +0100
commit692d700f903c665efb2e29f5ca66d4219ef96ada (patch)
tree003b5a397a666ff82ff4fa2605f64dd790fef29f /smoketest/scripts/cli/test_vpn_ipsec.py
parent404a2e92d027f405452062df081daed145374c8c (diff)
downloadvyos-1x-692d700f903c665efb2e29f5ca66d4219ef96ada.tar.gz
vyos-1x-692d700f903c665efb2e29f5ca66d4219ef96ada.zip
smoketest: T5905: always delete pki in ipsec test startup
(cherry picked from commit 2095eb75a2326b8f493944aef07f65b150cfbc60)
Diffstat (limited to 'smoketest/scripts/cli/test_vpn_ipsec.py')
-rwxr-xr-xsmoketest/scripts/cli/test_vpn_ipsec.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_vpn_ipsec.py b/smoketest/scripts/cli/test_vpn_ipsec.py
index 17e12bcaf..f5369ee7a 100755
--- a/smoketest/scripts/cli/test_vpn_ipsec.py
+++ b/smoketest/scripts/cli/test_vpn_ipsec.py
@@ -115,6 +115,7 @@ class TestVPNIPsec(VyOSUnitTestSHIM.TestCase):
# ensure we can also run this test on a live system - so lets clean
# out the current configuration :)
cls.cli_delete(cls, base_path)
+ cls.cli_delete(cls, ['pki'])
cls.cli_set(cls, base_path + ['interface', f'{interface}.{vif}'])