mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-22 14:20:19 +00:00
doc: add more example formats to run e2e tests
Added more example to run e2e and functional tests using `go test` and `make` commands. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
This commit is contained in:
parent
47e12a6b6c
commit
0d5efe9147
@ -156,6 +156,18 @@ Functional tests are run by the `go test` command.
|
||||
go test ./e2e/ -timeout=20m -v -mod=vendor
|
||||
```
|
||||
|
||||
To run specific tests, you can specify options
|
||||
|
||||
```console
|
||||
go test ./e2e/ --test-cephfs=false --test-rbd=false --upgrade-testing=true
|
||||
```
|
||||
|
||||
To run e2e for specific tests with `make`, use
|
||||
|
||||
```console
|
||||
make run-e2e E2E_ARGS="--test-cephfs=false --test-rbd=true --upgrade-testing=false"
|
||||
```
|
||||
|
||||
You can also invoke functional tests with `make` command
|
||||
|
||||
```console
|
||||
|
Loading…
Reference in New Issue
Block a user