Signed-off-by: Xavier Simonart <xsimo...@redhat.com>
---
 tests/ovn-controller.at | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index fb5923d48..96a88626e 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -2305,6 +2305,9 @@ OVS_WAIT_UNTIL([grep -q 'wait-before-clear' 
hv1/ovn-controller.log])
 OVS_WAIT_UNTIL([test 0 = $(ovs-ofctl dump-flows br-int | grep -F 10.1.2.4 | 
grep -cvF 2.2.2.2)])
 
 # Check in the middle of the wait.
+# Wait for ovn-controller to claim the port as it might cause some lflow_run.
+OVS_WAIT_UNTIL([test 2 = $(grep -c 'Claiming lport ls1-lp1 for this chassis' 
hv1/ovn-controller.log)])
+
 lflow_run_1=$(ovn-appctl -t ovn-controller coverage/read-counter lflow_run)
 AT_CHECK([ovs-ofctl dump-flows br-int | grep -F 10.1.2.3], [0], [ignore])
 
-- 
2.47.1

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to