mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-07 07:45:54 +00:00
* fix(test): widen model-response timeouts in SDK E2E tests for CI stability (#6979) The 'should handle control responses when stdin closes before replies' test armed 30 s boundedPromise timeouts for all four phases of a two-turn model interaction. On shared Linux CI runners a single model round-trip routinely exceeds 30 s, exhausting every retry. The permission-control suite used a flat TEST_TIMEOUT = 30 000 ms across 23 real-API test cases, and two tests hardcoded 40 000 ms timeouts instead of the shared constant. - Raise all four boundedPromise timeouts to 60 s in the stdin-close test so each phase can absorb a slow model round-trip. - Make TEST_TIMEOUT CI-aware (60 s on CI, 30 s locally) and route the two hardcoded 40 s values through it for consistency. * fix(test): use CI-conditional phase timeouts in abort-and-lifecycle E2E (#6985) Apply the same CI-conditional pattern (60s on CI, 30s locally) used by permission-control.test.ts to the stdin-close test's four boundedPromise calls. Local developers no longer wait the full CI-grade 60s per phase. --------- Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| baselines | ||
| cli | ||
| concurrent-runner | ||
| fixtures | ||
| hook-integration | ||
| interactive | ||
| sdk-typescript | ||
| terminal-bench | ||
| terminal-capture | ||
| channel-plugin.test.ts | ||
| fake-openai-server.test.ts | ||
| fake-openai-server.ts | ||
| globalSetup.ts | ||
| test-helper.ts | ||
| test-mcp-server.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||
| vitest.loadtest.config.ts | ||
| vitest.terminal-bench.config.ts | ||