Commit bf80309
committed
Fix flaky MultiAssetReturnCollateral test
Use retryUntilJustM to poll for the multi-asset UTxO instead of
waiting a fixed 1 block and querying once. The mint transaction may
not be confirmed within a single block, causing
findLargestMultiAssetUtxoWithAddress to return Nothing.
This matches the retry pattern already used for the script address
UTxO lookup a few lines below.1 parent 58f0953 commit bf80309
1 file changed
Lines changed: 2 additions & 6 deletions
File tree
- cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Cli/Plutus
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
| 148 | + | |
| 149 | + | |
153 | 150 | | |
154 | | - | |
155 | 151 | | |
156 | 152 | | |
157 | 153 | | |
| |||
0 commit comments