You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by on...@apache.org on 2020/12/09 03:28:56 UTC

[geode] branch develop updated: GEODE-8763: run benchmark tests up to 5 times (#5806)

This is an automated email from the ASF dual-hosted git repository.

onichols pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new b0e06b7  GEODE-8763: run benchmark tests up to 5 times (#5806)
b0e06b7 is described below

commit b0e06b7ab5a0b70254e6752dbda8c4e4d44c3982
Author: Hale Bales <hb...@pivotal.io>
AuthorDate: Tue Dec 8 19:22:33 2020 -0800

    GEODE-8763: run benchmark tests up to 5 times (#5806)
---
 ci/scripts/run_benchmarks.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/ci/scripts/run_benchmarks.sh b/ci/scripts/run_benchmarks.sh
index 4d32eff..580cdba 100755
--- a/ci/scripts/run_benchmarks.sh
+++ b/ci/scripts/run_benchmarks.sh
@@ -71,10 +71,6 @@ do
     rm ${input}
   fi
 
-  if [[ ${i} != 5 ]]; then
-    set +e
-  fi
-
   if [ -z "${BASELINE_VERSION}" ]; then
     BASELINE_OPTION="-B ${BASELINE_BRANCH} -R ${BASELINE_REPO}"
     METADATA_BASELINE="'benchmark_branch':'${BASELINE_BRANCH}'"
@@ -85,6 +81,11 @@ do
 
   ./run_on_cluster.sh -t ${CLUSTER_TAG} -- pkill -9 java
   ./run_on_cluster.sh -t ${CLUSTER_TAG} -- rm /home/geode/locator10334view.dat;
+
+  if [[ ${i} != 5 ]]; then
+    set +e
+  fi
+
   ./run_against_baseline.sh -t ${CLUSTER_TAG} -b ${GEODE_SHA} -r ${GEODE_REPO} -p ${BENCHMARKS_REPO} ${BASELINE_OPTION} -e ${BENCHMARKS_BRANCH} -o ${RESULTS_DIR} -m "'source':'geode-ci',${METADATA_BASELINE},'baseline_branch':'${BASELINE_BRANCH}','geode_branch':'${GEODE_SHA}'" --ci -- ${FLAGS} ${TEST_OPTIONS}
 
   if [[ $? -eq 0 ]]; then