From f74b4a46d2e75c25fb261c0a87e641ae2237de0d Mon Sep 17 00:00:00 2001 From: Vivek Reddy Date: Mon, 18 Nov 2024 12:10:09 -0800 Subject: [PATCH] fixed run test configuration --- test/run-tests.sh | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/test/run-tests.sh b/test/run-tests.sh index d97780ed0..e72757603 100755 --- a/test/run-tests.sh +++ b/test/run-tests.sh @@ -185,30 +185,24 @@ case ${CLUSTER_PROVIDER} in echo "License path not set. Changing to default" export ENTERPRISE_LICENSE_LOCATION="${GCP_ENTERPRISE_LICENSE_LOCATION}" fi - - if [[ -z "${TEST_CONTAINER}" ]]; then - echo "Data container not set. Changing to default" - export TEST_CONTAINER="${GCP_TEST_CONTAINER}" - fi - - if [[ -z "${INDEXES_CONTAINER}" ]]; then - echo "Test container not set. Changing to default" - export INDEXES_CONTAINER="${GCP_INDEXES_CONTAINER}" + if [[ -z "${ENTERPRISE_LICENSE_LOCATION}" ]]; then + echo "License path not set. Changing to default" + export ENTERPRISE_LICENSE_LOCATION="${ENTERPRISE_LICENSE_S3_PATH}" fi - if [[ -z "${REGION}" ]]; then - echo "GCP Region not set. Changing to default" - export REGION="${GCP_REGION}" + if [[ -z "${TEST_BUCKET}" ]]; then + echo "Data bucket not set. Changing to default" + export TEST_BUCKET="${TEST_S3_BUCKET}" fi - if [[ -z "${STORAGE_ACCOUNT}" ]]; then - echo "GCP Storage account not set. Changing to default" - export STORAGE_ACCOUNT="${GCP_STORAGE_ACCOUNT}" + if [[ -z "${TEST_INDEXES_S3_BUCKET}" ]]; then + echo "Test bucket not set. Changing to default" + export TEST_INDEXES_S3_BUCKET="${INDEXES_S3_BUCKET}" fi - if [[ -z "${STORAGE_ACCOUNT_KEY}" ]]; then - echo "GCP Storage account key not set. Changing to default" - export STORAGE_ACCOUNT_KEY="${GCP_STORAGE_ACCOUNT_KEY}" + if [[ -z "${S3_REGION}" ]]; then + echo "S3 Region not set. Changing to default" + export S3_REGION="${AWS_S3_REGION}" fi ;; esac