Skip to content

Commit ce43aaa

Browse files
zijun726911Zijun Wang
andauthored
Update developer.md, adding some e2e test doc (#216)
Co-authored-by: Zijun Wang <zijunw@amazon.com>
1 parent 1b0d9f4 commit ce43aaa

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/developer.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,21 @@ GATEWAY_API_CONTROLLER_LOGLEVEL=debug make run
2828
LATTICE_ENDPOINT=https://vpc-lattice.us-west-2.amazonaws.com/ make run
2929
```
3030

31-
## End-to-End Testing
31+
### End-to-End Testing
3232

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.
3346

3447
### Make Docker Image
3548

0 commit comments

Comments
 (0)