You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jb...@apache.org on 2019/02/21 00:09:02 UTC

[geode-benchmarks] branch develop updated: GEODE-6411: Fixes version/branch logic.

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 7a90788  GEODE-6411: Fixes version/branch logic.
7a90788 is described below

commit 7a90788731efee6a72b5bef93a7b9fa7f0cd3d24
Author: Jacob Barrett <jb...@pivotal.io>
AuthorDate: Wed Feb 20 16:07:40 2019 -0800

    GEODE-6411: Fixes version/branch logic.
---
 infrastructure/scripts/aws/run_tests.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure/scripts/aws/run_tests.sh b/infrastructure/scripts/aws/run_tests.sh
index 2efd202..3587cd8 100755
--- a/infrastructure/scripts/aws/run_tests.sh
+++ b/infrastructure/scripts/aws/run_tests.sh
@@ -103,8 +103,8 @@ FIRST_INSTANCE=`aws ec2 describe-instances --query 'Reservations[*].Instances[*]
 echo "FIRST_INSTANCE=${FIRST_INSTANCE}"
 echo "HOSTS=${HOSTS}"
 
-if [ ! -z "${BRANCH}" ]; then
-  if [ ! -z "${VERSION}" ]; then
+if [ -z "${VERSION}" ]; then
+  if [ -z "${BRANCH}" ]; then
     echo "Specify --version or --branch."
     exit 1
   fi