Skip to content

Commit

Permalink
Merge pull request #11479 from olemarkus/csi-test-ginkgo
Browse files Browse the repository at this point in the history
Use ginkgo to run the tests so we can run things in parallel
  • Loading branch information
k8s-ci-robot committed May 13, 2021
2 parents 7b04870 + c04bd5f commit 8e177b7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/scenarios/aws-ebs-csi/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ ${KUBETEST2} \
ZONE=$(${KOPS} get ig -o json | jq -r '[.[] | select(.spec.role=="Node") | .spec.subnets[0]][0]')

cd "$(mktemp -dt kops.XXXXXXXXX)"
go get github.com/onsi/ginkgo/ginkgo

git clone --branch v1.0.0 https://github.com/kubernetes-sigs/aws-ebs-csi-driver.git .
cd tests/e2e-kubernetes/
go test -v -timeout 0 ./... -ginkgo.skip="\[Disruptive\]" -report-dir="${REPORT_DIR}" -gce-zone="${ZONE}"

ginkgo --nodes=25 ./... -- -ginkgo.skip="\[Disruptive\]" -report-dir="${REPORT_DIR}" -gce-zone="${ZONE}"

0 comments on commit 8e177b7

Please sign in to comment.