From 756afbe2f8b2c2b72df839e0ea37340214a8a7df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Thu, 28 May 2020 15:36:12 +0200
Subject: [PATCH] Rename execution script to theodolite.sh (fix #37)

---
 execution/README.md                      | 4 ++--
 execution/{run_uc1-new.sh => run_uc1.sh} | 0
 execution/{run_uc2-new.sh => run_uc2.sh} | 0
 execution/{run_uc3-new.sh => run_uc3.sh} | 0
 execution/{run_uc4-new.sh => run_uc4.sh} | 0
 execution/{run_loop.sh => theodolite.sh} | 2 +-
 6 files changed, 3 insertions(+), 3 deletions(-)
 rename execution/{run_uc1-new.sh => run_uc1.sh} (100%)
 rename execution/{run_uc2-new.sh => run_uc2.sh} (100%)
 rename execution/{run_uc3-new.sh => run_uc3.sh} (100%)
 rename execution/{run_uc4-new.sh => run_uc4.sh} (100%)
 rename execution/{run_loop.sh => theodolite.sh} (88%)

diff --git a/execution/README.md b/execution/README.md
index f7df1a32a..56cc6dce6 100644
--- a/execution/README.md
+++ b/execution/README.md
@@ -135,10 +135,10 @@ Depending on your setup, some additional adjustments may be necessary:
 
 # Execution
 
-The `./run_loop.sh` is the entrypoint for all benchmark executions. Is has to be called as follows:
+The `./theodolite.sh` is the entrypoint for all benchmark executions. Is has to be called as follows:
 
 ```sh
-./run_loop.sh <use-case> <wl-values> <instances> <partitions> <cpu-limit> <memory-limit> <commit-interval> <duration>
+./theodolite.sh <use-case> <wl-values> <instances> <partitions> <cpu-limit> <memory-limit> <commit-interval> <duration>
 ```
 
 * `<use-case>`: Stream processing use case to be benchmarked. Has to be one of `1`, `2`, `3` or `4`.
diff --git a/execution/run_uc1-new.sh b/execution/run_uc1.sh
similarity index 100%
rename from execution/run_uc1-new.sh
rename to execution/run_uc1.sh
diff --git a/execution/run_uc2-new.sh b/execution/run_uc2.sh
similarity index 100%
rename from execution/run_uc2-new.sh
rename to execution/run_uc2.sh
diff --git a/execution/run_uc3-new.sh b/execution/run_uc3.sh
similarity index 100%
rename from execution/run_uc3-new.sh
rename to execution/run_uc3.sh
diff --git a/execution/run_uc4-new.sh b/execution/run_uc4.sh
similarity index 100%
rename from execution/run_uc4-new.sh
rename to execution/run_uc4.sh
diff --git a/execution/run_loop.sh b/execution/theodolite.sh
similarity index 88%
rename from execution/run_loop.sh
rename to execution/theodolite.sh
index e63c0ecdf..196662ffc 100755
--- a/execution/run_loop.sh
+++ b/execution/theodolite.sh
@@ -35,7 +35,7 @@ do
     do
         SUBEXPERIMENT_COUNTER=$((SUBEXPERIMENT_COUNTER+1))
         echo "Run subexperiment $SUBEXPERIMENT_COUNTER/$SUBEXPERIMENTS with config: $DIM_VALUE $REPLICA"
-        ./run_uc$UC-new.sh $EXP_ID $DIM_VALUE $REPLICA $PARTITIONS $CPU_LIMIT $MEMORY_LIMIT $KAFKA_STREAMS_COMMIT_INTERVAL_MS $EXECUTION_MINUTES
+        ./run_uc$UC.sh $EXP_ID $DIM_VALUE $REPLICA $PARTITIONS $CPU_LIMIT $MEMORY_LIMIT $KAFKA_STREAMS_COMMIT_INTERVAL_MS $EXECUTION_MINUTES
         sleep 10s
     done
 done
-- 
GitLab