rabbitmq-server/deps/rabbitmq_management/selenium/suites/oauth-with-uaa.sh

30 lines
761 B
Bash
Executable File

#!/usr/bin/env bash
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Name of the suite used to generate log and screen folders
SUITE=$( basename "${BASH_SOURCE[0]}" .sh)
# Path to the test cases this suite should run. It is relative to the selenium/test folder
TEST_CASES_PATH=/oauth/with-uaa
# Path to the folder where all configuration file reside. It is relative to the selenim/test folder
TEST_CONFIG_PATH=/oauth
# Path to the uaa configuration. It is relative to the TEST_CONFIG_PATH
UAA_CONFIG_PATH=/uaa
source $SCRIPT/suite_template
_setup () {
start_rabbitmq
start_uaa
}
_save_logs() {
save_container_logs rabbitmq
save_container_logs uaa
}
_teardown() {
kill_container_if_exist rabbitmq
kill_container_if_exist uaa
}
run