diff --git a/scripts/lib/common.sh b/scripts/lib/common.sh index 692d821973..893fc342a4 100644 --- a/scripts/lib/common.sh +++ b/scripts/lib/common.sh @@ -80,12 +80,10 @@ function run_scale_test_130_pods() { now="pod-130-scale-test-data-$(date +"%m-%d-%Y-%T").csv" echo $now - cat << EOF > $now - $(date +"%m-%d-%Y-%T") - $((SCALE_UP_DURATION_ARRAY[0])), $((SCALE_DOWN_DURATION_ARRAY[0])) - $((SCALE_UP_DURATION_ARRAY[1])), $((SCALE_DOWN_DURATION_ARRAY[1])) - $((SCALE_UP_DURATION_ARRAY[2])), $((SCALE_DOWN_DURATION_ARRAY[2])) - EOF + echo $(date +"%m-%d-%Y-%T") >> $now + echo $((SCALE_UP_DURATION_ARRAY[0])), $((SCALE_DOWN_DURATION_ARRAY[0])) >> $now + echo $((SCALE_UP_DURATION_ARRAY[1])), $((SCALE_DOWN_DURATION_ARRAY[1])) >> $now + echo $((SCALE_UP_DURATION_ARRAY[2])), $((SCALE_DOWN_DURATION_ARRAY[2])) >> $now cat $now aws s3 cp $now s3://cni-scale-test-data