Skip to content

Commit 7cdefff

Browse files
committed
update
Signed-off-by: bitliu <[email protected]>
1 parent fac846b commit 7cdefff

File tree

1 file changed

+6
-73
lines changed

1 file changed

+6
-73
lines changed

e2e/README.md

Lines changed: 6 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ e2e/
3434

3535
## Quick Start
3636

37+
### Install dependencies (optional)
38+
39+
```bash
40+
make e2e-deps
41+
```
42+
3743
### Run all tests with default profile (ai-gateway)
3844

3945
```bash
@@ -104,79 +110,6 @@ Before running E2E tests, ensure you have the following tools installed:
104110
- [kubectl](https://kubernetes.io/docs/tasks/tools/)
105111
- [Helm](https://helm.sh/docs/intro/install/)
106112

107-
## Getting Started
108-
109-
### 1. Install dependencies
110-
111-
```bash
112-
make e2e-deps
113-
```
114-
115-
### 2. Build the E2E test binary
116-
117-
```bash
118-
make build-e2e
119-
```
120-
121-
### 3. Run tests
122-
123-
```bash
124-
# Run all tests with default profile (ai-gateway)
125-
make e2e-test
126-
127-
# Run with verbose output
128-
make e2e-test E2E_VERBOSE=true
129-
130-
# Run and keep cluster for debugging
131-
make e2e-test-debug
132-
133-
# Run specific test cases
134-
make e2e-test-specific E2E_TESTS="basic-health-check,chat-completions-request"
135-
```
136-
137-
## CI Integration
138-
139-
The E2E tests are automatically run in GitHub Actions on:
140-
141-
- Pull requests to `main` branch
142-
- Pushes to `main` branch
143-
144-
See `.github/workflows/integration-test-ai-gateway.yml` for the CI configuration.
145-
146-
## Troubleshooting
147-
148-
### Cluster creation fails
149-
150-
```bash
151-
# Clean up any existing cluster
152-
make e2e-cleanup
153-
154-
# Try again
155-
make e2e-test
156-
```
157-
158-
### Tests fail with timeout
159-
160-
Increase the timeout in the test case or check if the cluster has enough resources:
161-
162-
```bash
163-
# Check cluster status
164-
kubectl get nodes
165-
kubectl get pods --all-namespaces
166-
```
167-
168-
### Port forward fails
169-
170-
Make sure no other process is using port 8080:
171-
172-
```bash
173-
# Check what's using port 8080
174-
lsof -i :8080
175-
176-
# Kill the process if needed
177-
kill -9 <PID>
178-
```
179-
180113
## Development
181114

182115
### Adding a new test case

0 commit comments

Comments
 (0)