github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/tests/suites/controller/task.sh (about)

     1  test_controller() {
     2  	if [ "$(skip 'test_controller')" ]; then
     3  		echo "==> TEST SKIPPED: controller tests"
     4  		return
     5  	fi
     6  
     7  	set_verbosity
     8  
     9  	echo "==> Checking for dependencies"
    10  	check_dependencies juju
    11  
    12  	file="${TEST_DIR}/test-controller.log"
    13  
    14  	bootstrap "test-controller" "${file}"
    15  
    16  	test_metrics
    17  
    18  	test_enable_ha
    19  	test_query_tracing
    20  
    21  	# Leave this one last, as it can cause mongo to slowdown to a snails pace.
    22  	test_mongo_memory_profile
    23  
    24  	destroy_controller "test-controller"
    25  }