When running load-balancing test, tcpdump is executed in background.
When the backround process stops, it outputs a message which might
be catched by the following command (wget) causing the test to fail.
wget being executed with -q we can safely ignore its output.

Fixes: ebbcd8e8cc ("northd: add reject action for lb with no backends")
Reported-at: https://bugzilla.redhat.com/show_bug.cgi?id=1989517
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/system-ovn.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 4288d80e5..c23756cfd 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -1595,7 +1595,7 @@ ovn-nbctl ls-lb-add foo lb3
 # Filter reset segments
 NS_CHECK_EXEC([foo1], [tcpdump -c 1 -neei foo1 ip[[33:1]]=0x14 > rst.pcap &])
 sleep 1
-NS_CHECK_EXEC([foo1], [wget -q 30.0.0.10],[4])
+NS_CHECK_EXEC([foo1], [wget -q 30.0.0.10],[4], [ignore])

 OVS_WAIT_UNTIL([
     n_reset=$(cat rst.pcap | wc -l)
--
2.31.1


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

Reply via email to