You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tests: server-images and server-search time out under host load even in isolation (pre-existing at v2.100.3) #8853
On a loaded macOS host, tests/server/server-images.test.ts and tests/server/server-search.test.ts fail heavily, even when each file runs alone. Most failures are this test timed out after 5000ms. The same counts appear at v2.100.3, so this is not a regression. It does make local full-suite evidence unusable on a busy machine:
Related: a full bun run test on the same host hit the 900 s main-lane timeout (exit 124) with 1008 files never started. With OCX_TEST_MAIN_TIMEOUT_MS=3000000 it finished in 1719 s with 257 failures, about 211 of which were 5 s timeouts, and server-live.test.ts was killed at its 180 s file cap.
Each test in these files starts a real server and upstream fixtures. Under CPU contention the 5 s per-test default is too tight. Possible fixes: give these server suites a larger per-test timeout, or move them to an isolated lane in scripts/test.ts.
Reproduction
Run a CPU-heavy workload elsewhere on the machine (load average around 6 to 15).
bun run test tests/server/server-images.test.ts at v2.100.3 and at current dev.
Activity