Skip to content

Commit ba2ed6a

Browse files
committed
docs(test): document serial e2e default
1 parent 4d9c013 commit ba2ed6a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/help/testing.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -781,10 +781,10 @@ Native dependency policy:
781781
- Files: `src/**/*.e2e.test.ts`, `test/**/*.e2e.test.ts`, and bundled-plugin E2E tests under `extensions/`
782782
- Runtime defaults:
783783
- Uses Vitest `threads` with `isolate: false`, matching the rest of the repo.
784-
- Uses adaptive workers (CI: up to 2, local: 1 by default).
784+
- Uses one worker by default to keep non-isolated gateway state deterministic.
785785
- Runs in silent mode by default to reduce console I/O overhead.
786786
- Useful overrides:
787-
- `OPENCLAW_E2E_WORKERS=<n>` to force worker count (capped at 16).
787+
- `OPENCLAW_E2E_WORKERS=<n>` to opt into parallel workers (capped at 16).
788788
- `OPENCLAW_E2E_VERBOSE=1` to re-enable verbose console output.
789789
- Scope:
790790
- Multi-instance gateway end-to-end behavior

‎docs/reference/test.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Test wrapper runs end with a short `[test] passed|failed|skipped ... in ...` sum
113113

114114
- Gateway tests are included in the untargeted `pnpm test` full suite; run them alone with `pnpm test:gateway`.
115115
- `pnpm test:e2e`: repo E2E aggregate = `pnpm test:e2e:gateway && pnpm test:ui:e2e`.
116-
- `pnpm test:e2e:gateway`: gateway end-to-end smoke tests (multi-instance WS/HTTP/node pairing). Defaults to `threads` + `isolate: false` with adaptive workers in `vitest.e2e.config.ts`; tune with `OPENCLAW_E2E_WORKERS=<n>`, verbose logs with `OPENCLAW_E2E_VERBOSE=1`.
116+
- `pnpm test:e2e:gateway`: gateway end-to-end smoke tests (multi-instance WS/HTTP/node pairing). Defaults to `threads` + `isolate: false` with one worker in `vitest.e2e.config.ts`; opt into parallelism with `OPENCLAW_E2E_WORKERS=<n>` (capped at 16), and enable verbose logs with `OPENCLAW_E2E_VERBOSE=1`.
117117
- `pnpm test:live`: provider live tests (Claude/Minimax/DeepSeek/z.ai/etc, gated by `*.live.test.ts`). Requires API keys and `LIVE=1` (or `OPENCLAW_LIVE_TEST=1`) to unskip; verbose output with `OPENCLAW_LIVE_TEST_QUIET=0`.
118118

119119
## Full Docker suite (`pnpm test:docker:all`)

0 commit comments

Comments
 (0)