From 9bb41f41afd87be52fe80bcea32ce206ffc681e0 Mon Sep 17 00:00:00 2001 From: Reiner Jung <reiner.jung@email.uni-kiel.de> Date: Mon, 22 Aug 2022 16:15:00 +0200 Subject: [PATCH] Minor bug fix in kieker/java --- frameworks/Kieker/java/benchmark.sh | 4 ++-- frameworks/common-functions.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frameworks/Kieker/java/benchmark.sh b/frameworks/Kieker/java/benchmark.sh index e49f92b..8cfc3fa 100755 --- a/frameworks/Kieker/java/benchmark.sh +++ b/frameworks/Kieker/java/benchmark.sh @@ -119,12 +119,12 @@ info "----------------------------------" info "Running benchmark..." info "----------------------------------" -for ((i=1;loop<="${NUM_OF_LOOPS}";i+=1)); do +for ((i=1;i<="${NUM_OF_LOOPS}";i+=1)); do info "## Starting iteration ${i}/${NUM_OF_LOOPS}" echo "## Starting iteration ${i}/${NUM_OF_LOOPS}" >> "${DATA_DIR}/kieker.log" - executeBenchmark + executeBenchmark printIntermediaryResults done diff --git a/frameworks/common-functions.sh b/frameworks/common-functions.sh index 7a5200b..c799ace 100755 --- a/frameworks/common-functions.sh +++ b/frameworks/common-functions.sh @@ -242,7 +242,7 @@ if [ -z $SLEEP_TIME ]; then SLEEP_TIME=3 #0 ## 30 fi if [ -z $NUM_OF_LOOPS ]; then - NUM_OF_LOOPS=10 ## 10 + NUM_OF_LOOPS=3 ## 10 fi if [ -z $THREADS ]; then THREADS=1 ## 1 -- GitLab