mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 09:49:50 +00:00
Use e2e.test instead of test/e2e in example invocations
This commit is contained in:
parent
e6390ce3ff
commit
51db6cb093
6
test/e2e/storage/external/README.md
vendored
6
test/e2e/storage/external/README.md
vendored
@ -30,11 +30,11 @@ are added for that driver with `External Storage [Driver: <Name>]` as
|
|||||||
prefix.
|
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` 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.*csi-hostpath' \
|
||||||
-skip='\[Feature:|\[Disruptive\]' \
|
-skip='\[Feature:|\[Disruptive\]' \
|
||||||
./test/e2e \
|
e2e.test \
|
||||||
-- \
|
-- \
|
||||||
-storage.testdriver=/tmp/hostpath-testdriver.yaml
|
-storage.testdriver=/tmp/hostpath-testdriver.yaml
|
||||||
|
|
||||||
@ -44,6 +44,6 @@ supports them, for example snapshotting:
|
|||||||
|
|
||||||
ginkgo -p -focus='External.Storage.*csi-hostpath.*\[Feature:VolumeSnapshotDataSource\]' \
|
ginkgo -p -focus='External.Storage.*csi-hostpath.*\[Feature:VolumeSnapshotDataSource\]' \
|
||||||
-skip='\[Disruptive\]' \
|
-skip='\[Disruptive\]' \
|
||||||
./test/e2e \
|
e2e.test \
|
||||||
-- \
|
-- \
|
||||||
-storage.testdriver=/tmp/hostpath-testdriver.yaml
|
-storage.testdriver=/tmp/hostpath-testdriver.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user