Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable debug log to track down test flakes in TestConnector_Run #3566

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

dnephin
Copy link
Contributor

@dnephin dnephin commented Nov 4, 2022

Summary

TestConnector_Run can flake occasionally in CI (example), but I've never been able to reproduce it locally.

From what I can tell, the connector is attempting to list destinations, but that API request never completes. The test ends up failing because the destination is not registered before the timeout.

I'm hoping it's just that CI can be very slow sometimes. The poll.WaitOn defaults to 10 second timeout, so I've created both the context deadline and this timeout to 30 seconds.

Also enable debug logging so that when it flakes maybe it gives us a bit more information about what is happening.

More links to flakes:

@dnephin dnephin merged commit d94f09f into main Nov 4, 2022
@dnephin dnephin deleted the dnephin/extend-test-timeout branch November 4, 2022 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants