summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-05-14 19:23:16 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-14 17:25:58 +0000
commit4c526750a1daa36a2de46db5f30ce62619d74764 (patch)
tree95cc8188bf0fb9944648e11bf9cddfb6b985cbda
parentcd1feee8c3f806357380b6c73e7c3c0bbe7b6087 (diff)
downloadvyos-1x-4c526750a1daa36a2de46db5f30ce62619d74764.tar.gz
vyos-1x-4c526750a1daa36a2de46db5f30ce62619d74764.zip
smoketest: ospf: T4739: add timeout in ldp test
(cherry picked from commit fbc846725d7d581f54b2db48a584e4580be3ad00)
-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)