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:
kaitranntt
2026-02-04 11:59:34 -05:00
parent 2fe6c336d7
commit aa83b4db4e
+4 -1
View File
@@ -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 };