Commit 39453d2
fix: widen the controllerTransfer pending-instruction poll
The last CI run reached 250 of 257 tests passing, with this the only
genuine failure: "the counter party should have the instruction as
pending".
Blocks are 6s on the runner, measured over 322 blocks of the run, so the
10 x 2s retry window covered only about three of them. The counter
party's pending list comes from the middleware, which lags the chain
further under load, and three blocks was not reliably enough with eight
workers competing. Its sibling in sdk/settlements/tradeAssets.ts does
the same lookup with no retry at all and passes, so this is a timing
margin rather than a logic fault.
Poll for 30 attempts instead, covering ten blocks, still well inside the
50 block (~300s) validity getPendingInstructionEndBlock allows.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 5b3f177 commit 39453d2
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | | - | |
| 59 | + | |
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| |||
0 commit comments