diff mbox series

[ovs-dev] tests: Fix Flaky system-tests "omit connection tracking ..."

Message ID 20230201162014.2017176-1-xsimonar@redhat.com
State Superseded
Headers show
Series [ovs-dev] tests: Fix Flaky system-tests "omit connection tracking ..." | expand

Checks

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

Commit Message

Xavier Simonart Feb. 1, 2023, 4:20 p.m. UTC
While conntrack entries were flushed between the sub-tests, flows from
previous tests might still be present, causing conntrack entries to be
re-created.

Fixes: a0f82efdd9df ("northd: bypass connection tracking for stateless flows when there are LB flows present")

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

Patch

diff --git a/tests/system-ovn.at b/tests/system-ovn.at
index 2ece0f571..505c7f916 100644
--- a/tests/system-ovn.at
+++ b/tests/system-ovn.at
@@ -9839,7 +9839,7 @@  ovn-nbctl ls-lb-del foo lb1
 
 # add stateless acl
 check ovn-nbctl acl-add foo from-lport 1 1 allow-stateless
-check ovn-nbctl acl-add foo to-lport 1 1 allow-stateless
+check ovn-nbctl --wait=hv acl-add foo to-lport 1 1 allow-stateless
 
 AT_CHECK([ip netns exec foo1 wget   192.168.2.2 -t 3 -T 1], [0], [ignore], [ignore])
 
@@ -9984,7 +9984,7 @@  ovn-nbctl ls-lb-del foo lb1
 
 # add stateless acl
 check ovn-nbctl acl-add foo from-lport 1 1 allow-stateless
-check ovn-nbctl acl-add foo to-lport 1 1 allow-stateless
+check ovn-nbctl --wait=hv acl-add foo to-lport 1 1 allow-stateless
 
 AT_CHECK([ip netns exec foo1  wget http://[[fd12::2]] -t 3 -T 1], [0], [ignore], [ignore])