feat(go): add load simulator hold mode
This commit is contained in:
@@ -488,7 +488,7 @@ Extend load-sim to open N TCP connections and keep them open for `duration`, wit
|
||||
Expected CLI:
|
||||
|
||||
```bash
|
||||
go run ./cmd/load-sim -protocol jt808 -addr 115.29.187.205:808 -connections 10000 -send-interval 30s -duration 5m
|
||||
go run ./cmd/load-sim -protocol jt808 -addr 115.29.187.205:808 -connections 10000 -send-interval 30s -duration 5m -send=false
|
||||
```
|
||||
|
||||
- [ ] **Step 2: Run from non-production client**
|
||||
@@ -496,7 +496,7 @@ go run ./cmd/load-sim -protocol jt808 -addr 115.29.187.205:808 -connections 1000
|
||||
Run a small smoke first:
|
||||
|
||||
```bash
|
||||
go run ./cmd/load-sim -protocol jt808 -addr 115.29.187.205:808 -connections 100 -duration 30s
|
||||
go run ./cmd/load-sim -protocol jt808 -addr 115.29.187.205:808 -connections 100 -duration 30s -send=false
|
||||
```
|
||||
|
||||
Then run 10K only after smoke succeeds.
|
||||
|
||||
Reference in New Issue
Block a user