Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Jan 29, 2026

Fix attempt for 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.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Jan 29, 2026
@copybara-service copybara-service bot changed the title Fix flakiness of testDockerComposeBuild test Fix attempt for flakiness of testDockerComposeBuild test Jan 29, 2026
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: 862834710
@copybara-service copybara-service bot merged commit 80a9cb6 into master Jan 29, 2026
0 of 2 checks passed
@copybara-service copybara-service bot deleted the test/cl862805236 branch January 29, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants