Merge "Improve the dockerized auto test"
[nonrtric.git] / near-rt-ric-simulator / auto-test / Dockerize_test.sh
1 #!/usr/bin/env bash
2
3 TC_ONELINE_DESCR="dockerirze the test, setup docker container for policy agent, cbs, consul, near realtime ric simulator"
4
5 . ../common/testcase_common.sh $1 $2
6
7 #### TEST BEGIN ####
8
9 clean_containers
10
11 start_ric_simulator
12
13 prepare_consul_config
14
15 start_simulators
16
17 consul_config_app         "../simulator-group/consul_cbs/config.json"
18
19 start_policy_agent
20
21 check_policy_agent_logs
22
23 #### TEST COMPLETE ####
24
25 store_logs          END