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/developer.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,21 @@ GATEWAY_API_CONTROLLER_LOGLEVEL=debug make run
28
28
LATTICE_ENDPOINT=https://vpc-lattice.us-west-2.amazonaws.com/ make run
29
29
```
30
30
31
-
## End-to-End Testing
31
+
###End-to-End Testing
32
32
33
+
Run the following command to run the end-to-end tests against the Kubernetes cluster pointed to by `kubectl config current-context`:
34
+
You should set up the correct `REGION` env variable
35
+
```
36
+
export REGION=us-west-2
37
+
make e2etest
38
+
```
39
+
Notice: the prerequisites for running the end-to-end tests success are:
40
+
- Current eks cluster don't have any k8s resource
41
+
- The vpc used by current eks cluster don't have any vpc service network association
42
+
43
+
After all test cases running finished, in the `AfterSuite()` function, it will clean up k8s and vpc lattice resource created by current test cases running.
44
+
45
+
Before sending a Pull Request, usually you should run the `make e2etest` to make sure all e2e tests pass.
0 commit comments