Skip to content

Commit

Permalink
.ci: ovn-kubernetes: Skip session affinity related tests.
Browse files Browse the repository at this point in the history
The OVN feature used to implement session affinity timeout doesn't exist
on this branch.  ovn-kubernetes code already moved to implementing the
feature by using the newer OVN option so, in order to keep testing as
many features as possible in CI, we now disable all session affinity
tests (but keep executing the rest).

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Acked-by: Ales Musil <amusil@redhat.com>
Signed-off-by: Mark Michelson <mmichels@redhat.com>
(cherry picked from commit 2ac7f64)
  • Loading branch information
dceara committed Jan 13, 2023
1 parent 5ab0839 commit 679c6fd
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .ci/ovn-kubernetes/custom.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
From 903eef2dd6f9fec818a580760f4757d8137b9974 Mon Sep 17 00:00:00 2001
From: Dumitru Ceara <dceara@redhat.com>
Date: Mon, 19 Dec 2022 12:18:55 +0100
Subject: [PATCH] DOWNSTREAM: Disable session affinity tests.

Commit https://github.com/ovn-org/ovn-kubernetes/commit/898d2f8f10c4
enabled affinity timeout tests but the underlying OVN feature is
not supported in this branch. Disable affinity tests.

Signed-off-by: Dumitru Ceara <dceara@redhat.com>
---
test/scripts/e2e-kind.sh | 3 +++
1 file changed, 3 insertions(+)

diff --git a/test/scripts/e2e-kind.sh b/test/scripts/e2e-kind.sh
index 69959fa1b..c3b2a5c3e 100755
--- a/test/scripts/e2e-kind.sh
+++ b/test/scripts/e2e-kind.sh
@@ -26,6 +26,9 @@ kube-proxy
should set TCP CLOSE_WAIT timeout
\[Feature:ProxyTerminatingEndpoints\]

+# Disable session affinity tests completely.
+session affinity
+
# NOT IMPLEMENTED; SEE DISCUSSION IN https://github.com/ovn-org/ovn-kubernetes/pull/1225
named port.+\[Feature:NetworkPolicy\]

--
2.31.1

0 comments on commit 679c6fd

Please sign in to comment.