YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
YongchaoWu | ffde6eb | 2020-01-17 13:58:51 +0100 | [diff] [blame] | 3 | TC_ONELINE_DESCR="Auto test for policy agent refreshing configurations from consul/cbs" |
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 4 | |
YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 5 | . ../common/testcase_common.sh $1 |
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 6 | |
YongchaoWu | ffde6eb | 2020-01-17 13:58:51 +0100 | [diff] [blame] | 7 | #### TEST BEGIN #### |
| 8 | |
YongchaoWu | 9a84f51 | 2019-12-16 22:54:11 +0100 | [diff] [blame] | 9 | clean_containers |
| 10 | |
| 11 | start_simulators |
| 12 | |
| 13 | consul_config_app "../simulator-group/consul_cbs/config.json" |
| 14 | |
| 15 | start_policy_agent |
| 16 | |
| 17 | check_policy_agent_logs |
| 18 | |
| 19 | #### TEST COMPLETE #### |
| 20 | |
| 21 | store_logs END |
| 22 | |