Multiple tests using BFD showed a flaky behavior on busy systems as BFD
went down after three seconds.

- 4 HV, 1 LS, 1 LR, packet test with HA distributed router gateway port
- 4 HV, 3 LS, 2 LR, packet test with HA distributed router gateway port
- 1 LR with HA distributed router gateway port
- external logical port

Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn.at | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/ovn.at b/tests/ovn.at
index 496403f36..b729595a1 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -11311,6 +11311,7 @@ check ovs-vsctl -- add-port br-int ext1-vif1 -- \
     options:rxq_pcap=ext1/vif1-rx.pcap \
     ofport-request=1
 
+ovn-nbctl --wait=hv set NB_Global . options:"bfd-mult"=15
 # Pre-populate the hypervisors' ARP tables so that we don't lose any
 # packets for ARP resolution (native tunneling doesn't queue packets
 # for ARP resolution).
@@ -11570,6 +11571,7 @@ check ovs-vsctl -- add-port br-int ext1-vif1 -- \
     options:rxq_pcap=ext1/vif1-rx.pcap \
     ofport-request=1
 
+ovn-nbctl --wait=hv set NB_Global . options:"bfd-mult"=15
 # Pre-populate the hypervisors' ARP tables so that we don't lose any
 # packets for ARP resolution (native tunneling doesn't queue packets
 # for ARP resolution).
@@ -13584,12 +13586,12 @@ for chassis in gw1 hv1 hv2; do
 ])
 done
 ovn-nbctl remove NB_Global . options "bfd-min-rx"
-ovn-nbctl --wait=hv set NB_Global . options:"bfd-mult"=5
+ovn-nbctl --wait=hv set NB_Global . options:"bfd-mult"=15
 for chassis in gw1 hv1 hv2; do
     echo "checking gw2 -> $chassis"
     OVS_WAIT_UNTIL([
     bfd_cfg=$(ovs-vsctl --bare --columns bfd find Interface 
name=ovn-$chassis-0)
-    test "$bfd_cfg" = "enable=true min_tx=1500 mult=5"
+    test "$bfd_cfg" = "enable=true min_tx=1500 mult=15"
 ])
 done
 
@@ -19430,6 +19432,8 @@ sim_add hv1
 sim_add hv2
 sim_add hv3
 
+ovn-nbctl --wait=hv set NB_Global . options:"bfd-mult"=15
+
 ovn-nbctl ls-add ls1
 ovn-nbctl lsp-add ls1 ls1-lp1 \
 -- lsp-set-addresses ls1-lp1 "f0:00:00:00:00:01 10.0.0.4 ae70::4"
-- 
2.31.1

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

Reply via email to