Skip to content

Commit

Permalink
[YUNIKORN-2096] Update e2e README (#714)
Browse files Browse the repository at this point in the history
Closes: #714

Signed-off-by: Peter Bacsko <[email protected]>
  • Loading branch information
doupache authored and pbacsko committed Nov 2, 2023
1 parent c8e7eca commit 1ccc1b1
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions test/e2e/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,29 @@ OR follow this doc for deploying go https://golang.org/doc/install

### Trigger through CLI
* Launching CI tests is as simple as below.
```console
```shell
$ kubectl config use-context <<cluster-under-test-context>>
$ ginkgo -r -v ci -timeout=2h -- -yk-namespace "yunikorn" -kube-config "$HOME/.kube/config"
```
* Launching all the tests can be done as..
```console
* Launching all the tests can be done as.
```shell
$ ginkgo -r -v -timeout=2h -- -yk-namespace "yunikorn" -kube-config "$HOME/.kube/config"
```
* Launching all the tests in specified e2e folder.
e.g. test/e2e/user_group_limit/
```shell
$ cd test/e2e/
$ ginkgo -r user_group_limit -v -- -yk-namespace "yunikorn" -kube-config "$HOME/.kube/config"
```
* Launching specified test.
e.g. Run test with ginkgo.it() spec name "Verify_maxapplications_with_a_specific_group_limit"
```shell
$ cd test/e2e/
$ ginkgo run -r -v --focus "Verify_maxapplications_with_a_specific_group_limit" \
-- -yk-namespace "yunikorn" \
-kube-config "$HOME/.kube/config"
```

0 comments on commit 1ccc1b1

Please sign in to comment.