The test was sending traffic without waiting for the NB change to be
synced to OVS.
Fixes: 73016feb6be5 ("northd: centralized reply lb traffic even if FIP is
defined")
Signed-off-by: Dumitru Ceara <[email protected]>
---
tests/ovn.at | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/ovn.at b/tests/ovn.at
index 7e6a6146ab..6e05809f41 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -40104,8 +40104,9 @@ check ovn-nbctl lrp-set-gateway-chassis lr0-public hv2
20
check ovn-nbctl lr-nat-add lr0 snat 172.168.0.1 10.0.0.0/24
check ovn-nbctl lr-nat-add lr0 dnat_and_snat 172.168.0.110 10.0.0.2 sw0-port1
f0:00:00:01:02:03
-wait_for_ports_up
OVN_POPULATE_ARP
+wait_for_ports_up
+check ovn-nbctl --wait=hv sync
# send UDP request to the FIP associated to sw0-port1
test_ip_req_packet "f0:00:00:01:02:03" "172.168.0.110"
@@ -40120,7 +40121,7 @@ echo $fip_packet > expected
OVN_CHECK_PACKETS_REMOVE_BROADCAST([hv2/vif1-tx.pcap], [expected])
check ovn-nbctl lb-add lb0 172.168.0.1:4369 10.0.0.2:4369 udp
-check ovn-nbctl lr-lb-add lr0 lb0
+check ovn-nbctl --wait=hv lr-lb-add lr0 lb0
# send UDP request to the load-balancer VIP
test_ip_req_packet "00:00:20:20:12:13" "172.168.0.1"
--
2.55.0
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev