X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC1800.sh;h=bbee77b06fc7a39721526573a0a362b997a2b016;hb=004424d01b8d0289034bdb77c1e35d57a75bb601;hp=70f9f538cf98165a04f083dfd5656d7dc94333c3;hpb=c963b73942867f631f9e5708e28025140afcb893;p=nonrtric.git diff --git a/test/auto-test/FTC1800.sh b/test/auto-test/FTC1800.sh index 70f9f538..bbee77b0 100755 --- a/test/auto-test/FTC1800.sh +++ b/test/auto-test/FTC1800.sh @@ -21,13 +21,18 @@ TC_ONELINE_DESCR="ECS Create 10000 jobs and restart, test job persistency" #App names to include in the test when running docker, space separated list -DOCKER_INCLUDED_IMAGES="ECS PRODSTUB CR CP" +DOCKER_INCLUDED_IMAGES="ECS PRODSTUB CR CP NGW" #App names to include in the test when running kubernetes, space separated list -KUBE_INCLUDED_IMAGES="ECS PRODSTUB CP CR" +KUBE_INCLUDED_IMAGES="ECS PRODSTUB CP CR KUBEPROXY NGW" #Prestarted app (not started by script) to include in the test when running kubernetes, space separated list KUBE_PRESTARTED_IMAGES="" +#Ignore image in DOCKER_INCLUDED_IMAGES, KUBE_INCLUDED_IMAGES if +#the image is not configured in the supplied env_file +#Used for images not applicable to all supported profile +CONDITIONALLY_IGNORED_IMAGES="NGW" + #Supported test environment profiles SUPPORTED_PROFILES="ONAP-HONOLULU ORAN-CHERRY ORAN-DAWN" #Supported run modes @@ -39,6 +44,10 @@ SUPPORTED_RUNMODES="DOCKER KUBE" . ../common/control_panel_api_functions.sh . ../common/controller_api_functions.sh . ../common/cr_api_functions.sh +. ../common/kube_proxy_api_functions.sh +. ../common/gateway_api_functions.sh + +setup_testenvironment #### TEST BEGIN #### @@ -46,17 +55,25 @@ FLAT_A1_EI="1" clean_environment +if [ $RUNMODE == "KUBE" ]; then + start_kube_proxy +fi + use_ecs_rest_http use_prod_stub_http -start_ecs NOPROXY $SIM_GROUP/$ECS_COMPOSE_DIR/application.yaml +start_ecs NOPROXY $SIM_GROUP/$ECS_COMPOSE_DIR/$ECS_CONFIG_FILE start_prod_stub set_ecs_trace -start_control_panel $SIM_GROUP/$CONTROL_PANEL_COMPOSE_DIR/application.properties +start_control_panel $SIM_GROUP/$CONTROL_PANEL_COMPOSE_DIR/$CONTROL_PANEL_CONFIG_FILE + +if [ ! -z "$NRT_GATEWAY_APP_NAME" ]; then + start_gateway $SIM_GROUP/$NRT_GATEWAY_COMPOSE_DIR/$NRT_GATEWAY_CONFIG_FILE +fi start_cr