Skip to content

Commit

Permalink
tests: decreased failure rate of "tug-of-war between two chassis for …
Browse files Browse the repository at this point in the history
…the same port"

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>
Acked-by: Ales Musil <amusil@redhat.com>
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
(cherry picked from commit 8a764bd)
  • Loading branch information
simonartxavier authored and dceara committed Jul 5, 2023
1 parent 03129d1 commit f14e7cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ovn.at
Original file line number Diff line number Diff line change
Expand Up @@ -14158,7 +14158,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], [])

Expand Down

0 comments on commit f14e7cc

Please sign in to comment.