mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 06:16:37 +00:00
test(glmt): increase timeout for retry-logic tests on CI
The GLMT retry logic tests use dynamic imports and GlmtProxy instantiation which are slower on CI runners than locally. Increase default timeout from 5s to 30s to prevent flaky failures.
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
* Tests for exponential backoff retry behavior on 429 rate limit errors
|
||||
*/
|
||||
|
||||
import { describe, it, expect, beforeEach, afterEach } from 'bun:test';
|
||||
import { describe, it, expect, beforeEach, afterEach, setDefaultTimeout } from 'bun:test';
|
||||
|
||||
// Increase timeout for CI - dynamic imports and proxy creation are slow on CI runners
|
||||
setDefaultTimeout(30000);
|
||||
|
||||
// Store original env vars
|
||||
const originalEnv = { ...process.env };
|
||||
|
||||
Reference in New Issue
Block a user