Commit 2102fdb
committed
tapgarden: use require.Eventually in assertPendingBatchExists
Refactor assertPendingBatchExists to use require.Eventually, allowing
additional time for the state machine to reach the expected state. This
improves test reliability by reducing flakiness and making the unit test
more robust.1 parent 56f9a5b commit 2102fdb
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
325 | 330 | | |
326 | 331 | | |
327 | 332 | | |
| |||
0 commit comments