summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-14 19:23:16 +0200
committerChristian Breunig <christian@breunig.cc>2024-05-14 19:23:53 +0200
commitfbc846725d7d581f54b2db48a584e4580be3ad00 (patch)
treedbdb7dd89436c706b778d62b63325ee7e1283f0e /smoketest/scripts/cli
parentf45b1b598c024194d1f8c7e2e3e5c17354f6c8f3 (diff)
downloadvyos-1x-fbc846725d7d581f54b2db48a584e4580be3ad00.tar.gz
vyos-1x-fbc846725d7d581f54b2db48a584e4580be3ad00.zip
smoketest: ospf: T4739: add timeout in ldp test
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_ospf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py
index 1b9cc50fe..585c1dc89 100755
--- a/smoketest/scripts/cli/test_protocols_ospf.py
+++ b/smoketest/scripts/cli/test_protocols_ospf.py
@@ -16,6 +16,7 @@
import unittest
+from time import sleep
from base_vyostest_shim import VyOSUnitTestSHIM
from vyos.configsession import ConfigSessionError
@@ -480,6 +481,8 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase):
# Commit main OSPF changes
self.cli_commit()
+ sleep(10)
+
# Verify main OSPF changes
frrconfig = self.getFRRconfig('router ospf', daemon=PROCESS_NAME)
self.assertIn(f'router ospf', frrconfig)