X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=inline;f=test%2Fauto-test%2FFTC10.sh;h=381e4659e867fb0f699d52479ceeaae8b890fcd5;hb=f81090f8f5f1fd1a76bb9feab1f41f03252297c3;hp=35fc80bea6c259f7c1f065fc8f61ecadfcf1ba5d;hpb=2918bef3d237c99e6cf7e9c1ab1722781128617b;p=nonrtric.git diff --git a/test/auto-test/FTC10.sh b/test/auto-test/FTC10.sh index 35fc80be..381e4659 100755 --- a/test/auto-test/FTC10.sh +++ b/test/auto-test/FTC10.sh @@ -84,7 +84,15 @@ set_a1pms_debug use_a1pms_rest_http -prepare_consul_config NOSDNC ".consul_config.json" +__CONFIG_HEADER="NOHEADER" +if [ $RUNMODE == "KUBE" ]; then + __CONFIG_HEADER="HEADER" +else + if [[ "$A1PMS_FEATURE_LEVEL" == *"NOCONSUL"* ]]; then + __CONFIG_HEADER="HEADER" + fi +fi +prepare_consul_config NOSDNC ".consul_config.json" $__CONFIG_HEADER if [ $RUNMODE == "KUBE" ]; then a1pms_load_config ".consul_config.json"