mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
1984bb5bbd
Two gateway tests were flaky due to race conditions: - TestGatewayStatusReturnsRestartingDuringRestartGap - TestGatewayRestartReturnsErrorStatusWhenReplacementFailsToStart The handleGatewayStatus function calls getGatewayHealth which can override the test's expected status. By mocking gatewayHealthGet to return an error, the tests now reliably verify the expected status values. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>