docs: fix storage e2e test README

This commit is contained in:
weizhichen
2023-03-28 23:36:42 +00:00
parent c3e7eca7fd
commit 7bfcfc4d5d

View File

@@ -36,7 +36,7 @@ prefix.
To run just those tests for the example above, put that content into To run just those tests for the example above, put that content into
`/tmp/hostpath-testdriver.yaml`, ensure `e2e.test` is in your PATH or current directory (downloaded from a test tarball like https://storage.googleapis.com/kubernetes-release/release/v1.14.0/kubernetes-test-linux-amd64.tar.gz or built via `make WHAT=test/e2e/e2e.test`), and invoke: `/tmp/hostpath-testdriver.yaml`, ensure `e2e.test` is in your PATH or current directory (downloaded from a test tarball like https://storage.googleapis.com/kubernetes-release/release/v1.14.0/kubernetes-test-linux-amd64.tar.gz or built via `make WHAT=test/e2e/e2e.test`), and invoke:
ginkgo -p -focus='External.Storage.*csi-hostpath' \ ginkgo -p -focus='External.Storage.*hostpath.csi.k8s.io' \
-skip='\[Feature:|\[Disruptive\]' \ -skip='\[Feature:|\[Disruptive\]' \
e2e.test \ e2e.test \
-- \ -- \
@@ -46,7 +46,7 @@ This disables tests which depend on optional features. Those tests
must be run by selecting them explicitly in an environment that must be run by selecting them explicitly in an environment that
supports them, for example snapshotting: supports them, for example snapshotting:
ginkgo -p -focus='External.Storage.*csi-hostpath.*\[Feature:VolumeSnapshotDataSource\]' \ ginkgo -p -focus='External.Storage.*hostpath.csi.k8s.io.*\[Feature:VolumeSnapshotDataSource\]' \
-skip='\[Disruptive\]' \ -skip='\[Disruptive\]' \
e2e.test \ e2e.test \
-- \ -- \