You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by pb...@apache.org on 2023/11/02 13:46:40 UTC
(yunikorn-k8shim) branch master updated: [YUNIKORN-2096] Update e2e README (#714)
This is an automated email from the ASF dual-hosted git repository.
pbacsko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/yunikorn-k8shim.git
The following commit(s) were added to refs/heads/master by this push:
new 1ccc1b13 [YUNIKORN-2096] Update e2e README (#714)
1ccc1b13 is described below
commit 1ccc1b13874a0767ebe72a4ccfa0fb1368c8fc09
Author: DouPache <do...@gmail.com>
AuthorDate: Thu Nov 2 14:43:51 2023 +0100
[YUNIKORN-2096] Update e2e README (#714)
Closes: #714
Signed-off-by: Peter Bacsko <pb...@cloudera.com>
---
test/e2e/README.md | 22 +++++++++++++++++++---
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/test/e2e/README.md b/test/e2e/README.md
index 03ace70b..28ce1012 100644
--- a/test/e2e/README.md
+++ b/test/e2e/README.md
@@ -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"
+```
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org