X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC850.sh;h=d6cc0013236e524cf36c4b82a40a1384d77571e5;hb=bf3700b1064ec3526af205cab454bd1964ce8650;hp=b5c991c3043d6fa1316ff028bcfa2f75f4a3a422;hpb=6f86ab364ac739951556bf2d5bf70429b518de47;p=nonrtric.git diff --git a/test/auto-test/FTC850.sh b/test/auto-test/FTC850.sh index b5c991c3..d6cc0013 100755 --- a/test/auto-test/FTC850.sh +++ b/test/auto-test/FTC850.sh @@ -20,7 +20,7 @@ TC_ONELINE_DESCR="Create/delete policies in parallel over a number of ric using a number of child process" #App names to exclude checking pulling images for, space separated list -EXCLUDED_IMAGES="SDNC_ONAP" +EXCLUDED_IMAGES="ECS" . ../common/testcase_common.sh $@ . ../common/agent_api_functions.sh @@ -51,32 +51,29 @@ for __httpx in $TESTED_PROTOCOLS ; do echo "#####################################################################" echo "#####################################################################" - #Local vars in test script - ########################## - if [ $__httpx == "HTTPS" ]; then - # Path to callback receiver CR_PATH="https://$CR_APP_NAME:$CR_EXTERNAL_SECURE_PORT/callbacks" use_cr_https + use_simulator_https + use_mr_https + if [[ $interface = *"SDNC"* ]]; then + use_sdnc_https + fi + use_agent_rest_https else - # Path to callback receiver CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks" use_cr_http + use_simulator_http + use_mr_http + if [[ $interface = *"SDNC"* ]]; then + use_sdnc_http + fi + use_agent_rest_http fi # Clean container and start all needed containers # clean_containers - if [ $__httpx == "HTTPS" ]; then - echo "Using secure ports towards simulators and sdnc" - use_simulator_https - use_sdnc_https - else - echo "Using non-secure ports towards simulators and sdnc" - use_simulator_http - use_sdnc_http - fi - start_ric_simulators ricsim_g1 $NUM_RICS OSC_2.1.0 start_consul_cbs @@ -98,14 +95,6 @@ for __httpx in $TESTED_PROTOCOLS ; do set_agent_debug - if [ $__httpx == "HTTPS" ]; then - echo "Using secure ports towards the agent" - use_agent_rest_https - else - echo "Using non-secure ports towards the agent" - use_agent_rest_http - fi - api_get_status 200 for ((i=1; i<=$NUM_RICS; i++))