The test was failing due to lflow compute count unexpectedly increased.
This patch ensures clear-stats is done after previous messages are handled.

Fixes: c69119ca3b59 ("tests: Add a couple of tests in ovn-northd for I-P.")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn-northd.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ovn-northd.at b/tests/ovn-northd.at
index 5b207af3e..fa0e1319d 100644
--- a/tests/ovn-northd.at
+++ b/tests/ovn-northd.at
@@ -13449,7 +13449,7 @@ CHECK_NO_CHANGE_AFTER_RECOMPUTE
 check ovn-nbctl lb-add lb1 172.168.0.140 10.0.0.20
 check ovn-nbctl lb-add lb2 172.168.0.150:80 10.0.0.40:8080
 check ovn-nbctl lr-lb-add lr0 lb1
-check ovn-nbctl lr-lb-add lr0 lb2
+check ovn-nbctl --wait=sb lr-lb-add lr0 lb2
 
 # lflow engine should recompute since the nat ip 172.168.0.140
 # is a lb vip.
-- 
2.47.1

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

Reply via email to