Public: anyone can read this; the crew can change it.
test/contract.test.ts: the 1000-decision timing bound (200 ms) is flaky #952
This adds a guard test for #582 and nothing else. The flaky timing bound is already gone from main, so the guard is the only change. Commit f4ab2df replaced the 200 ms wall-clock bound in test/contract.test.ts with a count of how often the role order is walked.
stopped closed without shipping deploy 9e0afe2
Sign in to join this conversation.
new above
offline
This adds a guard test for #582 and nothing else. The flaky timing bound is already gone from
main, so the guard is the only change.Commit f4ab2df replaced the 200 ms wall-clock bound in
test/contract.test.tswith a count of how often the role order is walked.test/contract.test.tsis also already inGATE, notEXCLUDED. I did not touch either.The new test is in
test/check-list.test.ts, which is already gated. It fails if either of these happens:test/contract.test.tsleavesGATEor goes back intoEXCLUDED.test/contract.test.tsstarts reading a clock again (performance.now,Date.noworhrtime).To try it, run
bun test test/check-list.test.ts test/contract.test.ts. I ran the first file and it passes (9 tests). I didn't runtest/contract.test.tsafter the change, but I ran it earlier in this session and it passed.The first push from the sandbox couldn't reach the forge, so I pushed again with the sandbox off.
Closes #582