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 1d4fc64  Always reset geode repo.
1d4fc64 is described below

commit 1d4fc64bfff8496bf5609e12d73cdc3303c1ad0d
Author: Jacob Barrett <jbarr...@pivotal.io>
AuthorDate: Thu Apr 18 18:03:34 2019 -0700

    Always reset geode repo.
---
 infrastructure/scripts/aws/run_tests.sh | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/infrastructure/scripts/aws/run_tests.sh 
b/infrastructure/scripts/aws/run_tests.sh
index 19022d2..3dd4d0d 100755
--- a/infrastructure/scripts/aws/run_tests.sh
+++ b/infrastructure/scripts/aws/run_tests.sh
@@ -156,8 +156,9 @@ if [[ -z "${VERSION}" ]]; then
   fi
 
   ssh ${SSH_OPTIONS} geode@$FIRST_INSTANCE "\
-    [ ! -d geode ] && git clone ${REPO}; \
-    cd geode && git fetch --all && git checkout ${BRANCH} && git pull"
+    rm -rf geode && \
+    git clone ${REPO} && \
+    cd geode && git checkout ${BRANCH}"
 
   set +e
   for i in {1..5}; do

Reply via email to