Skip to content

Commit ce6401f

Browse files
committed
[CI] Pass SINGLE_TEST variable to docker container for isolating x-pack test runs to one test
1 parent 9cfecf4 commit ce6401f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.ci/docker/run-security

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ docker run \
4949
--env "ELASTIC_PASSWORD=changeme" \
5050
--env "ELASTIC_USER=elastic" \
5151
--env "TEST_SUITE=security" \
52+
--env "SINGLE_TEST=${SINGLE_TEST}" \
5253
--volume $repo:/usr/src/app \
5354
--name elasticsearch-ruby \
5455
--rm \

.ci/run-tests

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ set -eo pipefail
1313

1414
export RUBY_TEST_VERSION=${RUBY_TEST_VERSION:-2.6.1}
1515
export ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-6.7.0}
16+
export SINGLE_TEST=${SINGLE_TEST}
1617

1718
set +x
1819
export VAULT_TOKEN=$(vault write -field=token auth/approle/login role_id="$VAULT_ROLE_ID" secret_id="$VAULT_SECRET_ID")

0 commit comments

Comments
 (0)