From e33548a6e1c9391780448395c2cfbb3ee6ba4d6f Mon Sep 17 00:00:00 2001
From: Manish Jangid <msjangid@amazon.com>
Date: Fri, 21 Apr 2023 18:57:11 +0000
Subject: [PATCH] Updated test environment variable

---
 testing/indexer-test-aws/build-aws/run-tests.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/indexer-test-aws/build-aws/run-tests.sh b/testing/indexer-test-aws/build-aws/run-tests.sh
index d6260a0a7..e2fd0042e 100755
--- a/testing/indexer-test-aws/build-aws/run-tests.sh
+++ b/testing/indexer-test-aws/build-aws/run-tests.sh
@@ -42,7 +42,7 @@ done
 echo "Using local port: "$localPort
 
 export KUBECONFIG=/tmp/kubeconfig-int-test$(date +%s).yaml
-aws eks update-kubeconfig --name $EKS_NAME --region $AWS_REGION --role-arn $CLUSTER_MANAGEMENT_ROLE_ARN
+aws eks update-kubeconfig --name $EKS_CLUSTER_NAME --region $AWS_REGION --role-arn $CLUSTER_MANAGEMENT_ROLE_ARN
 kubectl port-forward -n $TENANT_GROUP_NAME-tenant-$EKS_TENANT_NAME-elasticsearch svc/elasticsearch-es-http $localPort:$ELASTIC_PORT > /dev/null 2>&1 &
 
 export ELASTIC_PORT=$localPort
-- 
GitLab