From 288a7557664b04f4f997c9dda49d9e68d095a869 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=B6ren=20Henning?= <post@soeren-henning.de>
Date: Fri, 24 Apr 2020 11:09:24 +0200
Subject: [PATCH] Reset execution time to 5 minutes

---
 execution/run_uc4-new.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/execution/run_uc4-new.sh b/execution/run_uc4-new.sh
index e000c7b2b..607aecfcf 100755
--- a/execution/run_uc4-new.sh
+++ b/execution/run_uc4-new.sh
@@ -4,7 +4,7 @@ EXP_ID=$1
 DIM_VALUE=$2
 INSTANCES=$3
 PARTITIONS=$4
-EXECUTION_MINUTES=10
+EXECUTION_MINUTES=5
 
 # Maybe start up Kafka
 
@@ -16,11 +16,14 @@ kubectl exec kafka-client -- bash -c "kafka-topics --zookeeper my-confluent-cp-z
 
 # Start workload generator
 NUM_SENSORS=$DIM_VALUE
+#NUM_SENSORS=xy
 sed "s/{{NUM_SENSORS}}/$NUM_SENSORS/g" uc4-workload-generator/deployment.yaml | kubectl apply -f -
 
 # Start application
 REPLICAS=$INSTANCES
+#AGGREGATION_DURATION_DAYS=$DIM_VALUE
 kubectl apply -f uc4-application/aggregation-deployment.yaml
+#sed "s/{{AGGREGATION_DURATION_DAYS}}/$AGGREGATION_DURATION_DAYS/g" uc4-application/aggregation-deployment.yaml | kubectl apply -f -
 kubectl scale deployment titan-ccp-aggregation --replicas=$REPLICAS
 
 # Execute for certain time
-- 
GitLab