mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 02:14:01 +00:00
test(terrain): fail the first 429 test instead of hanging if its request never settles
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
9546dba1c7
commit
5410c97307
1 file changed
+1
@@ -432,6 +432,7 @@ test('after a 429 the terrain proxy leaves the upstream alone and logs once', as
|
||||
await new Promise((resolve) => setImmediate(resolve));
|
||||
t.mock.timers.tick(1_000);
|
||||
}
|
||||
assert.ok(settled, 'the first request settles within its retry budget');
|
||||
await first;
|
||||
const afterFirst = calls;
|
||||
assert.ok(afterFirst >= 1);
|
||||
|
||||
Reference in new issue
Block a user