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

Added coverage and timeout options to test build step #196

Merged
merged 2 commits into from
Feb 8, 2019

Conversation

stevevls
Copy link
Contributor

@stevevls stevevls commented Feb 6, 2019

This will give us diagnostic info the next time the tests fail due to a deadlock condition (e.g. https://circleci.com/gh/segmentio/kafka-go/745).

Copy link
Contributor

@achille-roussel achille-roussel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole build usually takes ~1m30s, how about shortening the timeouts to something closer to what we would expect? (2m30s to have some buffer?)

@stevevls
Copy link
Contributor Author

stevevls commented Feb 7, 2019

Works for me. I picked 5 minutes pretty randomly. We'll need to remember to bump up the numbers if/when we add more tests. At some point, we may also want to introduce a Makefile so that we don't have to touch so many places in order to change test params. But I think that's something we can do another time.

@stevevls stevevls merged commit e956173 into master Feb 8, 2019
@stevevls stevevls deleted the add_test_timeout_and_coverage branch February 8, 2019 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