diff mbox series

[ovs-dev,07/13] tests: fixed "Encaps tunnel cleanup does not interfere with multiple controller on the same host"

Message ID 20230627093043.1465206-8-xsimonar@redhat.com
State Accepted
Headers show
Series Fixes Multiple Unit Tests | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_Build_and_Test success github build: passed
ovsrobot/github-robot-_ovn-kubernetes success github build: passed

Commit Message

Xavier Simonart June 27, 2023, 9:30 a.m. UTC
Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
---
 tests/ovn.at | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/tests/ovn.at b/tests/ovn.at
index 535d5f666..aed150563 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -36076,6 +36076,9 @@  rm -f ${OVN_SYSCONFDIR}/system-id-override
 
 check ovn-appctl -t ovn-controller exit --restart
 
+# Make sure ovn-controller stopped before restarting it
+OVS_WAIT_UNTIL([test x$(ovn-appctl -t ovn-controller debug/status) != "xrunning"])
+
 # for some reason SSL ovsdb configuration overrides CLI, so
 # delete ssl config from ovsdb to give CLI arguments priority
 ovs-vsctl del-ssl