X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC110.sh;h=8419a5dbd800313df3d872855b60f1020fb85eaf;hb=49f0e5ab01b51aee8713a17aed86cd6d229b40cc;hp=23f68c7e43bc2c269ba045f90416198615fc8130;hpb=647744d8ab625d28ea0ecda3e6741e23ba9b0bc7;p=nonrtric.git diff --git a/test/auto-test/FTC110.sh b/test/auto-test/FTC110.sh index 23f68c7e..8419a5db 100755 --- a/test/auto-test/FTC110.sh +++ b/test/auto-test/FTC110.sh @@ -23,17 +23,16 @@ TC_ONELINE_DESCR="Testing of service registration timeouts and keepalive" #App names to include in the test, space separated list INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM" +#SUPPORTED TEST ENV FILE +SUPPORTED_PROFILES="ONAP-MASTER ONAP-GUILIN" + . ../common/testcase_common.sh $@ . ../common/agent_api_functions.sh . ../common/ricsimulator_api_functions.sh +. ../common/cr_api_functions.sh generate_uuid -#Local vars in test script -########################## -# Path to callback receiver -CR_PATH="http://$CR_APP_NAME:$CR_EXTERNAL_PORT/callbacks" - use_cr_http use_simulator_http use_mr_http @@ -65,8 +64,6 @@ start_policy_agent set_agent_debug -#Verify no callbacks or dmaap messages has been sent -cr_equal received_callbacks 0 mr_equal requests_submitted 0 #Check agent alive @@ -178,7 +175,7 @@ else fi if [ "$PMS_VERSION" == "V2" ]; then - notificationurl="http://localhost:80" + notificationurl=$CR_PATH"/test" else notificationurl="" fi @@ -218,9 +215,6 @@ sim_equal ricsim_g2_1 num_instances 0 api_get_service_ids 200 -deviation "TR18 Agents sends callback with empty body" -deviation "TR18 Unclear when callbacks are sent...." -#cr_equal received_callbacks 8 mr_equal requests_submitted 0 check_policy_agent_logs