The test could fail if there was enough time for the gARP to arrive
before we would check the pcap file. Disable the gARP annoucement
for the VIF to prevent that.

Fixes: d533ac4793d3 ("Revert "northd: Fix HM reply lflow for type=external 
backends on localnet LS."")
Signed-off-by: Ales Musil <[email protected]>
---
 tests/ovn.at | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index a88ea9650..310ad501a 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -46661,8 +46661,9 @@ check ovn-nbctl ls-add sw              \
     -- lsp-set-addresses sw-ln unknown \
     -- lsp-set-options sw-ln network_name=phys mcast_flood_reports=true
 
-check ovn-nbctl lsp-add sw sw-p1 \
-    -- lsp-set-addresses sw-p1 "00:00:00:00:00:10 10.0.0.10"
+check ovn-nbctl lsp-add sw sw-p1                             \
+    -- lsp-set-addresses sw-p1 "00:00:00:00:00:10 10.0.0.10" \
+    -- lsp-set-options sw-p1 disable_garp_rarp=true
 
 check ovn-nbctl lsp-add sw sw-ext   \
     -- lsp-set-type sw-ext external \
-- 
2.55.0

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

Reply via email to