From 0d5efe914707503076dbd184d1710fc29aef3986 Mon Sep 17 00:00:00 2001 From: Prasanna Kumar Kalever Date: Tue, 19 Jan 2021 17:18:45 +0530 Subject: [PATCH] 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 --- e2e/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/e2e/README.md b/e2e/README.md index e0b4b40eb..1794d8314 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -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