diff --git a/execution/run_uc1-new.sh b/execution/run_uc1-new.sh index ee981554d60d42caedad8d5383af549b27d60504..a598a958712b27f5e22fe87465b3dc88a3bf70a6 100755 --- a/execution/run_uc1-new.sh +++ b/execution/run_uc1-new.sh @@ -72,7 +72,7 @@ kubectl apply -k uc-application/overlay/uc1-application kubectl scale deployment uc1-titan-ccp-aggregation --replicas=$REPLICAS # Execute for certain time -sleep ${EXECUTION_MINUTES}m +sleep $(($EXECUTION_MINUTES * 60)) # Run eval script source ../.venv/bin/activate diff --git a/execution/run_uc2-new.sh b/execution/run_uc2-new.sh index 052c8ba5cd6a649e9768aada0d0c768b99ea0b7a..a52dd9c1dc0182325119b4d26b0d17dd0509dba7 100755 --- a/execution/run_uc2-new.sh +++ b/execution/run_uc2-new.sh @@ -45,7 +45,7 @@ kubectl apply -k uc2-workload-generator # Start application REPLICAS=$INSTANCES -cat <<EOF >uc-application/overlay/uc1-application/set_paramters.yaml +cat <<EOF >uc-application/overlay/uc2-application/set_paramters.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -67,7 +67,7 @@ kubectl apply -k uc-application/overlay/uc2-application kubectl scale deployment uc2-titan-ccp-aggregation --replicas=$REPLICAS # Execute for certain time -sleep ${EXECUTION_MINUTES}m +sleep $(($EXECUTION_MINUTES * 60)) # Run eval script source ../.venv/bin/activate diff --git a/execution/run_uc3-new.sh b/execution/run_uc3-new.sh index 85712030e4c14065dc3d3f7ef2dfeffadc02944a..33549d676b550c16ee42d2fad44cc3f4ef7e3a0c 100755 --- a/execution/run_uc3-new.sh +++ b/execution/run_uc3-new.sh @@ -73,7 +73,7 @@ kubectl apply -k uc-application/overlay/uc3-application kubectl scale deployment uc3-titan-ccp-aggregation --replicas=$REPLICAS # Execute for certain time -sleep ${EXECUTION_MINUTES}m +sleep $(($EXECUTION_MINUTES * 60)) # Run eval script source ../.venv/bin/activate @@ -81,7 +81,7 @@ python lag_analysis.py $EXP_ID uc3 $DIM_VALUE $INSTANCES $EXECUTION_MINUTES deactivate # Stop workload generator and app -kubectl delete -k uc1-workload-generator +kubectl delete -k uc3-workload-generator kubectl delete -k uc-application/overlay/uc3-application # Delete topics instead of Kafka diff --git a/execution/run_uc4-new.sh b/execution/run_uc4-new.sh index 8f44d7247f08cd0426d6fada3e4d119453cb7241..13f81431515313224f90b9b7b1ff59ecee0fcd1d 100755 --- a/execution/run_uc4-new.sh +++ b/execution/run_uc4-new.sh @@ -45,7 +45,7 @@ kubectl apply -k uc4-workload-generator # Start application REPLICAS=$INSTANCES -cat <<EOF >uc-application/overlay/uc1-application/set_paramters.yaml +cat <<EOF >uc-application/overlay/uc4-application/set_paramters.yaml apiVersion: apps/v1 kind: Deployment metadata: @@ -67,7 +67,7 @@ kubectl apply -k uc-application/overlay/uc4-application kubectl scale deployment uc4-titan-ccp-aggregation --replicas=$REPLICAS # Execute for certain time -sleep ${EXECUTION_MINUTES}m +sleep $(($EXECUTION_MINUTES * 60)) # Run eval script source ../.venv/bin/activate