This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
The following commit(s) were added to refs/heads/develop by this push:
new 1af2fe7 Get first host by array reference (#109)
1af2fe7 is described below
commit 1af2fe741cac5863d8c1e46fc772ebdaa56b05ba
Author: Jacob Barrett <[email protected]>
AuthorDate: Thu Sep 19 12:14:46 2019 -0700
Get first host by array reference (#109)
---
infrastructure/scripts/aws/run_tests.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/infrastructure/scripts/aws/run_tests.sh
b/infrastructure/scripts/aws/run_tests.sh
index dc6b435..032ecea 100755
--- a/infrastructure/scripts/aws/run_tests.sh
+++ b/infrastructure/scripts/aws/run_tests.sh
@@ -144,7 +144,7 @@ REPO=$(fixRepoName ${REPO})
SSH_OPTIONS="-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i
~/.geode-benchmarks/${TAG}-privkey.pem"
HOSTS=`aws ec2 describe-instances --query
'Reservations[*].Instances[*].PrivateIpAddress' --filter
"Name=tag:geode-benchmarks,Values=${TAG}" --output text`
HOSTS=$(echo ${HOSTS} | tr ' ' ',')
-FIRST_INSTANCE=`aws ec2 describe-instances --query
'Reservations[*].Instances[0].PublicIpAddress' --filter
"Name=tag:geode-benchmarks,Values=${TAG}" --output text`
+FIRST_INSTANCE=`aws ec2 describe-instances --query
'Reservations[0].Instances[0].PublicIpAddress' --filter
"Name=tag:geode-benchmarks,Values=${TAG}" --output text`
echo "FIRST_INSTANCE=${FIRST_INSTANCE}"
echo "HOSTS=${HOSTS}"