[Backport 8.7] Fixes to YAML REST integration test suite runner (#1840)

Co-authored-by: Josh Mock <josh@joshmock.com>
This commit is contained in:
github-actions[bot]
2023-04-10 15:40:09 -05:00
committed by GitHub
parent c562a730d0
commit 49eaea0f69
5 changed files with 111 additions and 27 deletions

View File

@ -22,12 +22,12 @@
# - Use https only when TEST_SUITE is "platinum", when "free" use http
# - Set xpack.security.enabled=false for "free" and xpack.security.enabled=true for "platinum"
script_path=$(dirname $(realpath -s $0))
source $script_path/functions/imports.sh
script_path=$(dirname "$(realpath -s "$0")")
source "$script_path/functions/imports.sh"
set -euo pipefail
echo -e "\033[34;1mINFO:\033[0m Take down node if called twice with the same arguments (DETACH=true) or on seperate terminals \033[0m"
cleanup_node $es_node_name
echo -e "\033[34;1mINFO:\033[0m Take down node if called twice with the same arguments (DETACH=true) or on separate terminals \033[0m"
cleanup_node "$es_node_name"
master_node_name=${es_node_name}
cluster_name=${moniker}${suffix}