44# to form a cluster suitable for running the REST API tests.
55#
66# Export the STACK_VERSION variable, eg. '8.0.0-SNAPSHOT'.
7- # Export the TEST_SUITE variable, eg. 'oss ' or 'xpack ' defaults to 'oss '.
7+ # Export the TEST_SUITE variable, eg. 'free ' or 'platinum ' defaults to 'free '.
88# Export the NUMBER_OF_NODES variable to start more than 1 node
99
10- # Version 1.1 .0
10+ # Version 1.2 .0
1111# - Initial version of the run-elasticsearch.sh script
1212# - Deleting the volume should not dependent on the container still running
1313# - Fixed `ES_JAVA_OPTS` config
1414# - Moved to STACK_VERSION and TEST_VERSION
1515# - Refactored into functions and imports
1616# - Support NUMBER_OF_NODES
17+ # - Added 5 retries on docker pull for fixing transient network errors
1718
1819script_path=$( dirname $( realpath -s $0 ) )
1920source $script_path /functions/imports.sh
@@ -38,7 +39,7 @@ environment=($(cat <<-END
3839 --env repositories.url.allowed_urls=http://snapshot.test*
3940END
4041) )
41- if [[ " $TEST_SUITE " == " xpack " ]]; then
42+ if [[ " $TEST_SUITE " == " platinum " ]]; then
4243 environment+=($( cat << -END
4344 --env ELASTIC_PASSWORD=$elastic_password
4445 --env xpack.license.self_generated.type=trial
6364fi
6465
6566cert_validation_flags=" "
66- if [[ " $TEST_SUITE " == " xpack " ]]; then
67+ if [[ " $TEST_SUITE " == " platinum " ]]; then
6768 cert_validation_flags=" --insecure --cacert /usr/share/elasticsearch/config/certs/ca.crt --resolve ${es_node_name} :443:127.0.0.1"
6869fi
6970
0 commit comments