Skip to content

Commit

Permalink
Fix file path issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnapolitan committed Jul 2, 2020
1 parent 16254ad commit 318101a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function run_performance_test_130_pods() {
while [ ${#SCALE_UP_DURATION_ARRAY[@]} -lt 3 ]
do
ITERATION_START=$SECONDS
$KUBECTL_PATH scale -f deploy-130-pods.yaml --replicas=130
$KUBECTL_PATH scale -f ./testdata/deploy-130-pods.yaml --replicas=130
sleep 20
while [[ ! $($KUBECTL_PATH get deploy | grep 130/130) ]]
do
Expand All @@ -54,7 +54,7 @@ function run_performance_test_130_pods() {

SCALE_UP_DURATION_ARRAY+=( $((SECONDS - ITERATION_START)) )
MIDPOINT_START=$SECONDS
$KUBECTL_PATH scale -f deploy-130-pods.yaml --replicas=0
$KUBECTL_PATH scale -f ./testdata/deploy-130-pods.yaml --replicas=0
while [[ $($KUBECTL_PATH get pods) ]]
do
sleep 1
Expand Down Expand Up @@ -105,7 +105,7 @@ function run_performance_test_730_pods() {
while [ ${#SCALE_UP_DURATION_ARRAY[@]} -lt 3 ]
do
ITERATION_START=$SECONDS
$KUBECTL_PATH scale -f deploy-730-pods.yaml --replicas=730
$KUBECTL_PATH scale -f ./testdata/deploy-730-pods.yaml --replicas=730
sleep 100
while [[ ! $($KUBECTL_PATH get deploy | grep 730/730) ]]
do
Expand All @@ -116,7 +116,7 @@ function run_performance_test_730_pods() {

SCALE_UP_DURATION_ARRAY+=( $((SECONDS - ITERATION_START)) )
MIDPOINT_START=$SECONDS
$KUBECTL_PATH scale -f deploy-730-pods.yaml --replicas=0
$KUBECTL_PATH scale -f ./testdata/deploy-730-pods.yaml --replicas=0
sleep 100
while [[ $($KUBECTL_PATH get pods) ]]
do
Expand Down Expand Up @@ -168,7 +168,7 @@ function run_performance_test_5000_pods() {
while [ ${#SCALE_UP_DURATION_ARRAY[@]} -lt 3 ]
do
ITERATION_START=$SECONDS
$KUBECTL_PATH scale -f deploy-5000-pods.yaml --replicas=5000
$KUBECTL_PATH scale -f ./testdata/deploy-5000-pods.yaml --replicas=5000
sleep 100
while [[ ! $($KUBECTL_PATH get deploy | grep 5000/5000) ]]
do
Expand All @@ -179,7 +179,7 @@ function run_performance_test_5000_pods() {

SCALE_UP_DURATION_ARRAY+=( $((SECONDS - ITERATION_START)) )
MIDPOINT_START=$SECONDS
$KUBECTL_PATH scale -f deploy-5000-pods.yaml --replicas=0
$KUBECTL_PATH scale -f ./testdata/deploy-5000-pods.yaml --replicas=0
sleep 100
while [[ $($KUBECTL_PATH get pods) ]]
do
Expand Down

0 comments on commit 318101a

Please sign in to comment.