Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Measure cluster creation time
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Dec 5, 2019
1 parent 38c58ed commit 17bfbc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/run.bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ if ! kubectl version > /dev/null 2>&1; then
install_kind

echo '>>> Creating Kind Kubernetes cluster(s)'
seq 1 "${E2E_KIND_CLUSTER_NUM}" | parallel -- kind create cluster --name "${KIND_CLUSTER_PREFIX}-{}" --wait 5m
seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- kind create cluster --name "${KIND_CLUSTER_PREFIX}-{}" --wait 5m
for I in $(seq 1 "${E2E_KIND_CLUSTER_NUM}"); do
defer kind --name "${KIND_CLUSTER_PREFIX}-${I}" delete cluster > /dev/null 2>&1 || true
# Wire tests with the right cluster based on their BATS_JOB_SLOT env variable
Expand Down

0 comments on commit 17bfbc9

Please sign in to comment.