diff --git a/prodtests/full-system-test/dpl-workflow.sh b/prodtests/full-system-test/dpl-workflow.sh index 7279b1dbbc857..32f1b48c0c164 100755 --- a/prodtests/full-system-test/dpl-workflow.sh +++ b/prodtests/full-system-test/dpl-workflow.sh @@ -12,7 +12,8 @@ export GEN_TOPO_AUTOSCALE_PROCESSES_GLOBAL_WORKFLOW=1 source $GEN_TOPO_MYDIR/gen_topo_helper_functions.sh || { echo "gen_topo_helper_functions.sh failed" 1>&2 && exit 1; } source $GEN_TOPO_MYDIR/setenv.sh || { echo "setenv.sh failed" 1>&2 && exit 1; } -if [[ $EPNSYNCMODE == 0 && ${DPL_CONDITION_BACKEND:-} != "http://o2-ccdb.internal" && ${DPL_CONDITION_BACKEND:-} != "http://localhost:8084" && ${DPL_CONDITION_BACKEND:-} != "http://127.0.0.1:8084" ]]; then +# A local CCDB backend needs no grid token. +if [[ $EPNSYNCMODE == 0 && ${DPL_CONDITION_BACKEND:-} != http://o2-ccdb.internal* && ${DPL_CONDITION_BACKEND:-} != http://localhost:* && ${DPL_CONDITION_BACKEND:-} != http://127.0.0.1:* ]]; then alien-token-info >& /dev/null if [[ $? != 0 ]]; then echo "FATAL: No alien token present" 1>&2 diff --git a/prodtests/full_system_test.sh b/prodtests/full_system_test.sh index ca83911d5fab8..c0195adb1bcc9 100755 --- a/prodtests/full_system_test.sh +++ b/prodtests/full_system_test.sh @@ -17,7 +17,8 @@ if [ "0$O2_ROOT" == "0" ] || [ "0$AEGIS_ROOT" == "0" ]; then exit 1 fi -if [[ $DPL_CONDITION_BACKEND != "http://o2-ccdb.internal" && $DPL_CONDITION_BACKEND != "http://localhost:8084" && $DPL_CONDITION_BACKEND != "http://127.0.0.1:8084" ]]; then +# A local CCDB backend does not need to check for tokens +if [[ $DPL_CONDITION_BACKEND != http://o2-ccdb.internal* && $DPL_CONDITION_BACKEND != http://localhost:* && $DPL_CONDITION_BACKEND != http://127.0.0.1:* ]]; then alien-token-info >& /dev/null RETVAL=$? if [[ $RETVAL != 0 ]]; then