You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/e2e.md
+8-5Lines changed: 8 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,6 @@ Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127
10
10
```
11
11
make kind-e2e
12
12
export CLUSTER_HOSTNAME=kind
13
-
export CODEFLARE_TEST_TIMEOUT_LONG=20m
14
13
make deploy -e IMG=quay.io/project-codeflare/codeflare-operator:v1.1.0
15
14
make setup-e2e
16
15
```
@@ -56,10 +55,10 @@ Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127
56
55
57
56
58
57
- Test Phase:
59
-
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository:
58
+
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository and setting timeout in seconds:
60
59
```
61
60
poetry install --with test,docs
62
-
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py
61
+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py --timeout=900
63
62
```
64
63
65
64
@@ -72,8 +71,12 @@ Pre-requisite for KinD clusters: please add in your local `/etc/hosts` file `127
72
71
make setup-e2e
73
72
```
74
73
- Test Phase:
75
-
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository:
74
+
- Once we have the codeflare-operator and kuberay-operator running and ready, we can run the e2e test on the codeflare-sdk repository and setting timeout in seconds:
76
75
```
77
76
poetry install --with test,docs
78
-
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py
77
+
poetry run pytest -v -s ./tests/e2e/mnist_raycluster_sdk_test.py --timeout=900
78
+
```
79
+
- To run the multiple tests based on the cluster environment, we can run the e2e tests by marking -m with cluster environment (kind or openshift)
80
+
```
81
+
poetry run pytest -v -s ./tests/e2e -m openshift --timeout=900
0 commit comments