Allow skipping v2 compat tests for SDS as it's only the SDS server integration that doesn't support v2
This commit is contained in:
parent
cd6491ea71
commit
3b2a4fc458
|
@ -1,3 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
export REQUIRED_SERVICES="$DEFAULT_REQUIRED_SERVICES ingress-gateway-primary test-sds-server"
|
||||
|
||||
if is_set $TEST_V2_XDS; then
|
||||
export SKIP_CASE="test SDS server doesn't support V2"
|
||||
fi
|
|
@ -287,6 +287,7 @@ function run_tests {
|
|||
CASE_DIR="${CASE_DIR?CASE_DIR must be set to the path of the test case}"
|
||||
CASE_NAME=$( basename $CASE_DIR | cut -c6- )
|
||||
export CASE_NAME
|
||||
export SKIP_CASE=""
|
||||
|
||||
init_vars
|
||||
|
||||
|
@ -300,6 +301,12 @@ function run_tests {
|
|||
|
||||
global_setup
|
||||
|
||||
# Allow vars.sh to set a reason to skip this test case based on the ENV
|
||||
if [ "$SKIP_CASE" != "" ] ; then
|
||||
echoyellow "SKIPPING CASE: $SKIP_CASE"
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Wipe state
|
||||
wipe_volumes
|
||||
|
||||
|
|
Loading…
Reference in New Issue