Merge pull request #2434 from aledbf/check-ginkgo

Check ginkgo is installed before running e2e tests
This commit is contained in:
k8s-ci-robot 2018-04-26 23:22:19 -07:00 committed by GitHub
commit 108dfbf43b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,7 @@ e2e-image: sub-container-amd64
.PHONY: e2e-test
e2e-test:
@ginkgo version || go get -u github.com/onsi/ginkgo/ginkgo
@ginkgo build ./test/e2e
@KUBECONFIG=${HOME}/.kube/config ginkgo -randomizeSuites -randomizeAllSpecs -flakeAttempts=2 -p -trace -nodes=2 ./test/e2e/e2e.test