Skip to content

Commit

Permalink
Merge pull request #500 from leakingtapan/fix-migration-test
Browse files Browse the repository at this point in the history
Fix migration test
  • Loading branch information
Cheng Pan authored May 25, 2020
2 parents 6af78ae + 3af2979 commit 1dd5062
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hack/run-e2e-test
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 1dd5062

Please sign in to comment.