mirror of
https://github.com/anthropic-experimental/sandbox-runtime.git
synced 2026-05-07 06:01:25 +08:00
The three it.if(isLinux) tests each run two spawnSync calls with curl --max-time 3 then --max-time 5. When example.com responds slowly both curls run to their limits and the body takes ~8s, but bun's default test timeout is 5000ms. bun aborts mid-body; afterEach runs reset() against an in-flight spawn and the next test sees stale state. These were never in test:integration so they never ran on CI before this branch. On fast responses they complete in under 200ms.