Commit 7139de5
committed
tapgarden: switch assertPendingBatchExists to wait.NoError
Replace the use of `require.Eventually` with `wait.NoError` in
`assertPendingBatchExists`. This lets the helper return detailed error
messages (nil batch, wrong number of seedlings, fetch failure) instead
of a generic boolean failure.1 parent e28ce8d commit 7139de5
1 file changed
+18
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
342 | 350 | | |
343 | | - | |
344 | | - | |
345 | | - | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
346 | 359 | | |
347 | 360 | | |
348 | 361 | | |
| |||
0 commit comments