ovn-ic-nbctl --wait=sb sync does not guarantee cross AZ sync.

Fixes: fd85ce1680dc ("ic: Fix NULL ptr deref on log of duplicate routes.")
Signed-off-by: Xavier Simonart <[email protected]>
Acked-by: Mairtin O'Loingsigh <[email protected]>

---
v2: Added Ack from Mairtin
---
 tests/ovn-ic.at | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/ovn-ic.at b/tests/ovn-ic.at
index 80f51ff87..24dba4cd5 100644
--- a/tests/ovn-ic.at
+++ b/tests/ovn-ic.at
@@ -743,9 +743,7 @@ for i in 1 2; do
     check ovn-nbctl --wait=sb lsp-add-router-port ts1 lsp$i lrp$i
     check ovn-ic-nbctl --wait=sb sync
 
-    check \
-       grep -q "connected route advertisement was suppressed! NB lrp" \
-       az$i/ic/ovn-ic.log
+    OVS_WAIT_UNTIL([grep -q "connected route advertisement was suppressed! NB 
lrp" az$i/ic/ovn-ic.log])
 done
 
 # Make sure last az2 changes got handled by ic in az1
-- 
2.47.1

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

Reply via email to