Skip to content

Commit

Permalink
Merge pull request #1398 from edreed/edreed-run-external-e2e-serial-t…
Browse files Browse the repository at this point in the history
…ests-serially

[V2] chore: Run serial external e2e tests sequentially
  • Loading branch information
edreed authored Jun 25, 2022
2 parents 67b22f6 + b739ad8 commit 093653d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/external-e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,17 @@ install_ginkgo
setup_e2e_binaries
trap print_logs EXIT

SKIP_TESTS='\[Disruptive\]|should resize volume when PVC is edited while pod is using it|should provision storage with any volume data source|should mount multiple PV pointing to the same storage on the same node'

# Run non-serial tests in parallel
ginkgo -p --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com" \
-skip='\[Disruptive\]|should resize volume when PVC is edited while pod is using it|should provision storage with any volume data source|should mount multiple PV pointing to the same storage on the same node' kubernetes/test/bin/e2e.test -- \
-skip="\[Serial\]|$SKIP_TESTS" \
kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/manifest/testdriver.yaml \
--kubeconfig=$KUBECONFIG
# Run serial tests sequentially
ginkgo --progress --v -focus="External.Storage.*$DRIVER.csi.azure.com.*\[Serial\]" \
-skip="$SKIP_TESTS" \
kubernetes/test/bin/e2e.test -- \
-storage.testdriver=$PROJECT_ROOT/test/external-e2e/manifest/testdriver.yaml \
--kubeconfig=$KUBECONFIG

0 comments on commit 093653d

Please sign in to comment.