X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC310.sh;h=c0205f77dd4d0fb6d6a41dea558159f4485de41d;hb=84525a0316cc1626fe4d6328283d4578f735ae9b;hp=6d024d70099c4c3052727f7d56b19accd929325f;hpb=2b362b57251e5d685f4262ba532022295ddb8d0e;p=nonrtric.git diff --git a/test/auto-test/FTC310.sh b/test/auto-test/FTC310.sh index 6d024d70..c0205f77 100755 --- a/test/auto-test/FTC310.sh +++ b/test/auto-test/FTC310.sh @@ -1,7 +1,8 @@ #!/bin/bash # ============LICENSE_START=============================================== -# Copyright (C) 2020 Nordix Foundation. All rights reserved. +# Copyright (C) 2020-2023 Nordix Foundation. All rights reserved. +# Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved. # ======================================================================== # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -29,7 +30,7 @@ DOCKER_INCLUDED_IMAGES="CP CR MR A1PMS RICSIM KUBEPROXY" CONDITIONALLY_IGNORED_IMAGES="" #Supported test environment profiles -SUPPORTED_PROFILES="ONAP-JAKARTA ONAP-KOHN ONAP-LONDON ORAN-F-RELEASE ORAN-G-RELEASE ORAN-H-RELEASE" +SUPPORTED_PROFILES="ONAP-KOHN ONAP-LONDON ONAP-MONTREAL ORAN-G-RELEASE ORAN-H-RELEASE ORAN-I-RELEASE" #Supported run modes SUPPORTED_RUNMODES="DOCKER" @@ -39,7 +40,7 @@ setup_testenvironment #### TEST BEGIN #### -generate_policy_uuid +sim_generate_policy_uuid # Clean container and start all needed containers # clean_environment @@ -59,7 +60,11 @@ start_ric_simulators ricsim_g1 1 OSC_2.1.0 start_ric_simulators ricsim_g2 1 STD_1.1.3 start_ric_simulators ricsim_g3 1 STD_2.0.0 -start_mr +if [[ "$A1PMS_FEATURE_LEVEL" == *"NO-DMAAP"* ]]; then + : +else + start_mr +fi start_cr 1 @@ -80,6 +85,7 @@ cr_equal 0 received_callbacks 3 120 cr_api_check_all_sync_events 200 0 ric-registration ricsim_g1_1 ricsim_g2_1 ricsim_g3_1 # Add an STD RIC and check + start_ric_simulators ricsim_g2 2 STD_1.1.3 prepare_a1pms_config NOSDNC ".a1pms_config.json" @@ -94,8 +100,7 @@ cr_api_check_all_sync_events 200 0 ric-registration ricsim_g2_2 check_a1pms_logs - -# Remove one RIC RIC and check +# Remove one RIC and check start_ric_simulators ricsim_g2 1 STD_1.1.3 prepare_a1pms_config NOSDNC ".a1pms_config.json"