Add missing --wait=hv sync to ensure ovn-controller handled recent change.

Fixes: f20f664bc962 ("controller, northd: pass arp/nd from HW VTEP to lrouter 
pipeline")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn.at | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tests/ovn.at b/tests/ovn.at
index 3f561d589..d2be90061 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -4731,6 +4731,10 @@ check as hv1 ovs-vsctl remove interface vif1 
external_ids iface-id
 hv_uuid=$(fetch_column Chassis _uuid name=hv1)
 wait_row_count Port_Binding 0 chassis="$hv_uuid" type="''"
 
+# Ensure ovn-controller handled the change, or next garp might be received
+# while flows are still installed, and extra packet will be received.
+check ovn-nbctl --wait=hv sync
+
 # Cleanup MAC_Bindings after previous checks.
 check ovn-sbctl --all destroy MAC_Binding
 
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to