Skip to content

Commit f74b4a4

Browse files
author
Vivek Reddy
committed
fixed run test configuration
1 parent 9568b7d commit f74b4a4

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

test/run-tests.sh

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -185,30 +185,24 @@ case ${CLUSTER_PROVIDER} in
185185
echo "License path not set. Changing to default"
186186
export ENTERPRISE_LICENSE_LOCATION="${GCP_ENTERPRISE_LICENSE_LOCATION}"
187187
fi
188-
189-
if [[ -z "${TEST_CONTAINER}" ]]; then
190-
echo "Data container not set. Changing to default"
191-
export TEST_CONTAINER="${GCP_TEST_CONTAINER}"
192-
fi
193-
194-
if [[ -z "${INDEXES_CONTAINER}" ]]; then
195-
echo "Test container not set. Changing to default"
196-
export INDEXES_CONTAINER="${GCP_INDEXES_CONTAINER}"
188+
if [[ -z "${ENTERPRISE_LICENSE_LOCATION}" ]]; then
189+
echo "License path not set. Changing to default"
190+
export ENTERPRISE_LICENSE_LOCATION="${ENTERPRISE_LICENSE_S3_PATH}"
197191
fi
198192

199-
if [[ -z "${REGION}" ]]; then
200-
echo "GCP Region not set. Changing to default"
201-
export REGION="${GCP_REGION}"
193+
if [[ -z "${TEST_BUCKET}" ]]; then
194+
echo "Data bucket not set. Changing to default"
195+
export TEST_BUCKET="${TEST_S3_BUCKET}"
202196
fi
203197

204-
if [[ -z "${STORAGE_ACCOUNT}" ]]; then
205-
echo "GCP Storage account not set. Changing to default"
206-
export STORAGE_ACCOUNT="${GCP_STORAGE_ACCOUNT}"
198+
if [[ -z "${TEST_INDEXES_S3_BUCKET}" ]]; then
199+
echo "Test bucket not set. Changing to default"
200+
export TEST_INDEXES_S3_BUCKET="${INDEXES_S3_BUCKET}"
207201
fi
208202

209-
if [[ -z "${STORAGE_ACCOUNT_KEY}" ]]; then
210-
echo "GCP Storage account key not set. Changing to default"
211-
export STORAGE_ACCOUNT_KEY="${GCP_STORAGE_ACCOUNT_KEY}"
203+
if [[ -z "${S3_REGION}" ]]; then
204+
echo "S3 Region not set. Changing to default"
205+
export S3_REGION="${AWS_S3_REGION}"
212206
fi
213207
;;
214208
esac

0 commit comments

Comments
 (0)