summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEelco Chaudron <echaudro@redhat.com>2023-02-07 15:05:46 +0100
committerIlya Maximets <i.maximets@ovn.org>2023-02-09 00:32:55 +0100
commit3655ddb4f5ecb325bb0a332e56afa07a28449de3 (patch)
tree81da61455f5994a94f9bc5f77e33c7843498179f /tests
parentb292cce2ff5336524874b80da26b60c653984ca4 (diff)
downloadopenvswitch-3655ddb4f5ecb325bb0a332e56afa07a28449de3.tar.gz
test: Tc does not support conntrack timeout, skip the related test.
The tc conntrack implementation does not support the timeout option. The current implementation is silently ignoring the timeout option by adding a general conntrack entry. This patch will skip the related test by overriding the support macro. Signed-off-by: Eelco Chaudron <echaudro@redhat.com> Acked-by: Roi Dayan <roid@nvidia.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Tested-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/system-offloads-testsuite-macros.at6
-rw-r--r--tests/system-traffic.at1
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/system-offloads-testsuite-macros.at b/tests/system-offloads-testsuite-macros.at
index 5d7044f42..322166b8c 100644
--- a/tests/system-offloads-testsuite-macros.at
+++ b/tests/system-offloads-testsuite-macros.at
@@ -40,3 +40,9 @@ m4_define([CHECK_CONNTRACK_ALG],
[
AT_SKIP_IF([:])
])
+
+# Conntrack timeout not supported for tc.
+m4_define([CHECK_CONNTRACK_TIMEOUT],
+[
+ AT_SKIP_IF([:])
+])
diff --git a/tests/system-traffic.at b/tests/system-traffic.at
index 1ea180be6..b57054985 100644
--- a/tests/system-traffic.at
+++ b/tests/system-traffic.at
@@ -4396,7 +4396,6 @@ AT_CLEANUP
AT_SETUP([conntrack - zone-based timeout policy])
CHECK_CONNTRACK()
CHECK_CONNTRACK_TIMEOUT()
-CHECK_NO_TC_OFFLOAD()
OVS_TRAFFIC_VSWITCHD_START()
ADD_NAMESPACES(at_ns0, at_ns1)