@@ -25418,7 +25418,9 @@ check_row_count Service_Monitor 0
# Let's also be sure the warning message about SCTP load balancers is
# is in the ovn-northd log
-AT_CHECK([test 1 = `grep -c "SCTP load balancers do not currently support health checks" northd/NORTHD_TYPE.log`])
+cnt1=`grep -c "SCTP load balancers do not currently support health checks" northd/NORTHD_TYPE.log`
+cnt2=`grep -c "SCTP load balancers do not currently support health checks" northd-backup/NORTHD_TYPE.log`
+AT_CHECK([test 1 -le "$(($cnt1 + $cnt2))"])
AT_CLEANUP
])
There is no guarantee that ovn-northd and not its 'backup' gets the lock. Hence we need to check both logs. Signed-off-by: Xavier Simonart <xsimonar@redhat.com> --- tests/ovn.at | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)