Skip to content

Commit

Permalink
e2e: skip ETP local conformance tests if default pod network is adver…
Browse files Browse the repository at this point in the history
…tised

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
  • Loading branch information
jcaamano committed Oct 25, 2024
1 parent 267985c commit 495e500
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/scripts/e2e-kind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ DUALSTACK_CONVERSION_TESTS="
should function for service endpoints using hostNetwork
"

# Skips when default pod network is advertised through BGP
RA_SKIPPED_TESTS="
# Pod to ETP local nodeport on a different node is broken
# https://github.com/ovn-org/ovn-kubernetes/issues/4804
\[sig-network\] Services should fallback to local terminating endpoints when there are no ready endpoints with externalTrafficPolicy=Local
"

# Github CI doesn´t offer IPv6 connectivity, so always skip IPv6 only tests.
# See: https://github.com/ovn-org/ovn-kubernetes/issues/1522
SKIPPED_TESTS=$SKIPPED_TESTS$IPV6_ONLY_TESTS
Expand All @@ -129,6 +136,11 @@ if [ "$DUALSTACK_CONVERSION" == true ]; then
SKIPPED_TESTS=$SKIPPED_TESTS$DUALSTACK_CONVERSION_TESTS
fi

# Skip tests that are unsupported or broken when the default pod network is advertised
if [ "$ADVERTISE_DEFAULT_NETWORK" == true ]; then
SKIPPED_TESTS=$SKIPPED_TESTS$RA_SKIPPED_TESTS
fi

SKIPPED_TESTS="$(groomTestList "${SKIPPED_TESTS}")"

# if we set PARALLEL=true, skip serial test
Expand Down

0 comments on commit 495e500

Please sign in to comment.