Commit 5b90512
committed
fix: deflake //rs/rosetta-api/icrc1:icrc_multitoken_rosetta_system_tests/multitoken_system_tests
Increase timeouts to handle resource contention when 4 tests run in parallel:
1. Increase MAX_ATTEMPTS in wait_for_rosetta_block from 20 to 60 (20s -> 60s)
to give Rosetta more time to sync blocks under load.
2. Create RosettaClient with an explicit 120s timeout (instead of None which
defaults to 60s) so make_submit_and_wait_for_transaction has sufficient
time to find submitted transactions.
Root cause: With RUST_TEST_THREADS=4, multiple Rosetta + PocketIC instances
compete for resources, causing block sync and transaction confirmation to
take longer than the previous tight timeouts allowed.1 parent 31ca9d3 commit 5b90512
File tree
2 files changed
+6
-4
lines changed- rs/rosetta-api/icrc1/tests
- common
2 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
407 | 409 | | |
408 | 410 | | |
409 | 411 | | |
| |||
0 commit comments