Skip to content

Commit

Permalink
Switch to use ginkgo parallel for migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
Cheng Pan committed Nov 6, 2019
1 parent 929a101 commit f75a03f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hack/run-e2e-test
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,14 @@ 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 test -v -timeout 0 ./... -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -ginkgo.focus="$FOCUS" -ginkgo.skip="\[Disruptive\]\
go get -u github.com/onsi/ginkgo/ginkgo
SKIP="\[Disruptive\]
|should.not.allow.expansion\
|block.volmode.+volume-expand\
|should.provision.storage.with.mount.options\
|should.not.mount./.map.unused.volumes.in.a.pod" -gce-zone=${ZONES%,*}
|should.not.mount./.map.unused.volumes.in.a.pod"
ginkgo -p -nodes=$NODES -v --focus="$FOCUS" --skip="$SKIP" ./... -- -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -gce-zone=${ZONES%,*}
#go test -v -timeout 0 ./... -kubeconfig=$HOME/.kube/config -report-dir=$ARTIFACTS -ginkgo.focus="$FOCUS" -ginkgo.skip="$SKIP" -gce-zone=${ZONES%,*}
TEST_PASS=$?
popd

Expand Down

0 comments on commit f75a03f

Please sign in to comment.