Skip to content

Commit 36e85f4

Browse files
jcaamanotssurya
authored andcommitted
e2e: skip ETP local conformance tests if default pod network is advertised
Signed-off-by: Jaime Caamaño Ruiz <[email protected]> (cherry picked from commit bfeb76956ba02320a4a9aed6ade3c3244c46d0be)
1 parent 8f9797f commit 36e85f4

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/scripts/e2e-kind.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,13 @@ DUALSTACK_CONVERSION_TESTS="
107107
should function for service endpoints using hostNetwork
108108
"
109109

110+
# Skips when default pod network is advertised through BGP
111+
RA_SKIPPED_TESTS="
112+
# Pod to ETP local nodeport on a different node is broken
113+
# https://github.com/ovn-org/ovn-kubernetes/issues/4804
114+
\[sig-network\] Services should fallback to local terminating endpoints when there are no ready endpoints with externalTrafficPolicy=Local
115+
"
116+
110117
# Github CI doesn´t offer IPv6 connectivity, so always skip IPv6 only tests.
111118
# See: https://github.com/ovn-org/ovn-kubernetes/issues/1522
112119
SKIPPED_TESTS=$SKIPPED_TESTS$IPV6_ONLY_TESTS
@@ -132,6 +139,11 @@ if [ "$DUALSTACK_CONVERSION" == true ]; then
132139
SKIPPED_TESTS=$SKIPPED_TESTS$DUALSTACK_CONVERSION_TESTS
133140
fi
134141

142+
# Skip tests that are unsupported or broken when the default pod network is advertised
143+
if [ "$ADVERTISE_DEFAULT_NETWORK" == true ]; then
144+
SKIPPED_TESTS=$SKIPPED_TESTS$RA_SKIPPED_TESTS
145+
fi
146+
135147
SKIPPED_TESTS="$(groomTestList "${SKIPPED_TESTS}")"
136148

137149
# if we set PARALLEL=true, skip serial test

0 commit comments

Comments
 (0)