X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC810.sh;h=4fcd42fec865afdc98f0a34fd3d399a6a5b48d78;hb=f81090f8f5f1fd1a76bb9feab1f41f03252297c3;hp=89c347ac723ca7b09c200bd909ac9499ee1c51fc;hpb=2918bef3d237c99e6cf7e9c1ab1722781128617b;p=nonrtric.git diff --git a/test/auto-test/FTC810.sh b/test/auto-test/FTC810.sh index 89c347ac..4fcd42fe 100755 --- a/test/auto-test/FTC810.sh +++ b/test/auto-test/FTC810.sh @@ -98,7 +98,16 @@ fi start_a1pms NORPOXY $SIM_GROUP/$A1PMS_COMPOSE_DIR/$A1PMS_CONFIG_FILE -prepare_consul_config SDNC ".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 SDNC ".consul_config.json" $__CONFIG_HEADER if [ $RUNMODE == "KUBE" ]; then a1pms_load_config ".consul_config.json"