Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/system-ovn.at | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index f29de4887..7c56e8ef0 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -7723,9 +7723,7 @@ test_ping() {
 check_acl_log_count() {
     local expected_count=$1
 
-    AT_CHECK_UNQUOTED([grep -c acl_log ovn-controller.log], [0], [dnl
-$expected_count
-])
+    OVS_WAIT_UNTIL([test $expected_count = `cat ovn-controller.log | grep -c 
acl_log`])
 }
 
 # Set external-ids in br-int needed for ovn-controller
-- 
2.31.1

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

Reply via email to