From 3655ddb4f5ecb325bb0a332e56afa07a28449de3 Mon Sep 17 00:00:00 2001 From: Eelco Chaudron Date: Tue, 7 Feb 2023 15:05:46 +0100 Subject: 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 Acked-by: Roi Dayan Reviewed-by: Simon Horman Tested-by: Simon Horman Signed-off-by: Ilya Maximets --- tests/system-offloads-testsuite-macros.at | 6 ++++++ tests/system-traffic.at | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'tests') 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) -- cgit v1.2.1