X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC310.sh;h=ba07999cea4213d38cadfad3f95cf020601edcd9;hb=2479d8eeffbf064eaa3e11138c80d2368b386157;hp=c6f063a4df5571290b6ff9080ad3e3713ca9aecb;hpb=d2aeca8843fe3ffca2e73dec5b64daeef0dda938;p=nonrtric.git diff --git a/test/auto-test/FTC310.sh b/test/auto-test/FTC310.sh index c6f063a4..ba07999c 100755 --- a/test/auto-test/FTC310.sh +++ b/test/auto-test/FTC310.sh @@ -29,7 +29,7 @@ DOCKER_INCLUDED_IMAGES="CBS CONSUL CP CR MR A1PMS RICSIM KUBEPROXY" CONDITIONALLY_IGNORED_IMAGES="CBS CONSUL" #Supported test environment profiles -SUPPORTED_PROFILES="ONAP-GUILIN ONAP-HONOLULU ONAP-ISTANBUL ONAP-JAKARTA ORAN-CHERRY ORAN-D-RELEASE ORAN-E-RELEASE ORAN-F-RELEASE" +SUPPORTED_PROFILES="ONAP-GUILIN ONAP-HONOLULU ONAP-ISTANBUL ONAP-JAKARTA ONAP-KOHN ONAP-LONDON ORAN-CHERRY ORAN-D-RELEASE ORAN-E-RELEASE ORAN-F-RELEASE ORAN-G-RELEASE ORAN-H-RELEASE" #Supported run modes SUPPORTED_RUNMODES="DOCKER" @@ -81,7 +81,15 @@ for consul_conf in $TESTED_VARIANTS ; do start_consul_cbs fi - 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 [ "$A1PMS_VERSION" == "V2" ] && [ $consul_conf == "NOCONSUL" ]; then a1pms_api_put_configuration 200 ".consul_config.json" @@ -103,7 +111,7 @@ for consul_conf in $TESTED_VARIANTS ; do # Add an STD RIC and check start_ric_simulators ricsim_g2 2 STD_1.1.3 - prepare_consul_config NOSDNC ".consul_config.json" + prepare_consul_config NOSDNC ".consul_config.json" $__CONFIG_HEADER if [ "$A1PMS_VERSION" == "V2" ] && [ $consul_conf == "NOCONSUL" ]; then a1pms_api_put_configuration 200 ".consul_config.json" a1pms_api_get_configuration 200 ".consul_config.json" @@ -127,7 +135,7 @@ for consul_conf in $TESTED_VARIANTS ; do # Remove one RIC RIC and check start_ric_simulators ricsim_g2 1 STD_1.1.3 - prepare_consul_config NOSDNC ".consul_config.json" + prepare_consul_config NOSDNC ".consul_config.json" $__CONFIG_HEADER if [ "$A1PMS_VERSION" == "V2" ] && [ $consul_conf == "NOCONSUL" ]; then a1pms_api_put_configuration 200 ".consul_config.json" a1pms_api_get_configuration 200 ".consul_config.json"