Skip to content

Commit

Permalink
tests: Fix conntrack not being flushed between tests.
Browse files Browse the repository at this point in the history
Since the split, the conntrack is no longer flushed between system
tests.  This may cause some random failures if residual conntrack
entries interfere with the next test in some way.  The command doesn't
exist in the OVN's ovstest.  The one from OVS should be used instead:

  ovstest: unknown command 'test-netlink-conntrack'; use --help for help

Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
igsilya committed Feb 7, 2025
1 parent 67100f0 commit 628dcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/system-kmod-macros.at
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ m4_define([CHECK_CONNTRACK],
on_exit 'modprobe -r mod'
])
sysctl -w net.netfilter.nf_conntrack_helper=0
on_exit 'ovstest test-netlink-conntrack flush'
on_exit "${ovs_srcdir}/tests/ovstest test-netlink-conntrack flush"
)

# CHECK_CONNTRACK_ALG()
Expand Down

0 comments on commit 628dcfc

Please sign in to comment.