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

Replace hardcoded test timeout and parallelism flags with defaults. #2779

Merged
merged 2 commits into from
May 19, 2019

Conversation

anorth
Copy link
Member

@anorth anorth commented May 13, 2019

The specified parallelism of 8 was counter-productive on machines with fewer cores, and the
hardcoded flag was impossible to override from the outside. This now uses the Go default
of GOMAXPROCS (which is #cores). The CI config sets parallelism explicitly to suit container
size.

The specified timeout was also impossible to override when a shorter value was wanted for development. The CI config now sets the 30m value, but this is much more than we currently need.

I think these issues contributed to #2711.

The specified parallism of 8 was counter-productive on machines with fewer cores, and the
hardcoded flag was impossible to override from the outside. This now uses the Go default
of GOMAXPROCS (which is #cores). The CI config sets parallelism explicitly to suit container
size.

The specified timeout was also impossible to override when a shorter value was wanted for development.
The CI config now sets the 30m value, but this is way more than we need.
@anorth anorth requested review from travisperson and ognots May 13, 2019 00:21
@anorth anorth requested review from acruikshank and removed request for ognots May 15, 2019 22:08
Copy link
Contributor

@acruikshank acruikshank left a comment

Choose a reason for hiding this comment

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

I like the additional logging.

@anorth anorth merged commit 16b615d into master May 19, 2019
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.

3 participants