Commit 73d5527
Fix flakiness of testDockerComposeBuild test
This test eats the returned error at d.WaitForOutput(ctx, want, defaultWait).
Instead of waiting for a certain output that can change in the future,
let's check the existence of the image periodically and get rid of this call completely. After removing this call, I did not experience test failures in my testing. Increasing the defaultWait also removed flakiness but I think we should get rid of this check.
PiperOrigin-RevId: 8628052361 parent 6b63320 commit 73d5527
1 file changed
+8
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
745 | 745 | | |
746 | 746 | | |
747 | 747 | | |
748 | | - | |
749 | | - | |
750 | | - | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
751 | 756 | | |
752 | 757 | | |
753 | 758 | | |
| |||
0 commit comments