Skip to content

Commit

Permalink
Create data file after scale test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnapolitan committed Jun 17, 2020
1 parent 3a9eaec commit b7efa10
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scripts/lib/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,16 @@ function run_scale_test_130_pods() {
done
echo ""
DEPLOY_DURATION=$((SECONDS - DEPLOY_START))

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 "TIMELINE: 130 Pod scale test took $DEPLOY_DURATION seconds."
}

0 comments on commit b7efa10

Please sign in to comment.