From 3af29797afc2107a65e58a0085dd537004fe5b22 Mon Sep 17 00:00:00 2001 From: Cheng Pan Date: Sun, 10 May 2020 06:40:53 +0000 Subject: [PATCH] Fix migration test --- hack/run-e2e-test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hack/run-e2e-test b/hack/run-e2e-test index e0f391e5d6..53e6a0547b 100755 --- a/hack/run-e2e-test +++ b/hack/run-e2e-test @@ -108,11 +108,11 @@ if [[ "$GINKGO_FOCUS" == "\[ebs-csi-migration\]" ]]; then # - should provision storage with mount options # - Known bug, need https://github.com/kubernetes/kubernetes/pull/80191 but not yet in a patch release pushd ./tests/e2e-migration - go get -u github.com/onsi/ginkgo/ginkgo + go get github.com/onsi/ginkgo/ginkgo SKIP="\[Disruptive\]\ |should.provision.storage.with.mount.options\ |should.not.mount./.map.unused.volumes.in.a.pod" - ginkgo -p -nodes=$NODES -v --focus="$FOCUS" --skip="$SKIP" --noColor ./... -- -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -gce-zone=${ZONES%,*} + $GOBIN/ginkgo -p -nodes=$NODES -v --focus="$FOCUS" --skip="$SKIP" --noColor ./... -- -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -gce-zone=${ZONES%,*} TEST_PASS=$? popd @@ -148,9 +148,9 @@ if [[ "$GINKGO_FOCUS" == "\[ebs-csi-migration\]" ]]; then TEST_PASS=1 fi else - go get -u github.com/onsi/ginkgo/ginkgo + go get github.com/onsi/ginkgo/ginkgo export KUBECONFIG=$HOME/.kube/config - ginkgo -p -nodes=$NODES -v --focus="$FOCUS" tests/e2e -- -report-dir=$ARTIFACTS + $GOBIN/ginkgo -p -nodes=$NODES -v --focus="$FOCUS" tests/e2e -- -report-dir=$ARTIFACTS TEST_PASS=$? fi