diff mbox series

[ovs-dev,05/13] tests: decreased failure rate of "tug-of-war between two chassis for the same port"

Message ID 20230627093043.1465206-6-xsimonar@redhat.com
State Accepted
Headers show
Series Fixes Multiple Unit Tests | expand

Checks

Context Check Description
ovsrobot/apply-robot success apply and check: success
ovsrobot/github-robot-_ovn-kubernetes success github build: passed
ovsrobot/github-robot-_Build_and_Test fail github build: failed

Commit Message

Xavier Simonart June 27, 2023, 9:30 a.m. UTC
This test could fail for two reasons:
- on slow systems, the duration of the fight between the hv might
  be longer than expected, resulting in more claims than expected
- if-status module does not implement this 'fight protection'

Signed-off-by: Xavier Simonart <xsimonar@redhat.com>
---
 tests/ovn.at | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tests/ovn.at b/tests/ovn.at
index 1dc09a168..4b454a8c1 100644
--- a/tests/ovn.at
+++ b/tests/ovn.at
@@ -16158,7 +16158,7 @@  echo "hv1 claimed ${hv1_claims} times"
 echo "hv2 claimed ${hv2_claims} times"
 
 # check that neither registered an outrageous number of port claims
-max_claims=10
+max_claims=20
 AT_CHECK([test "${hv1_claims}" -le "${max_claims}"], [0], [])
 AT_CHECK([test "${hv2_claims}" -le "${max_claims}"], [0], [])