Skip to content

tests: adding the Go data race detector.#526

Merged
mislav merged 1 commit intocli:masterfrom
henvic:impr/race
Mar 5, 2020
Merged

tests: adding the Go data race detector.#526
mislav merged 1 commit intocli:masterfrom
henvic:impr/race

Conversation

@henvic
Copy link
Copy Markdown
Contributor

@henvic henvic commented Feb 21, 2020

Copy link
Copy Markdown
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

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

Thank you!

I've kept -race enabled during a CI run, but disabled it elsewhere, such as testing locally. Since -race can potentially double the execution time of the test suite (on my MBP with Go 1.13 at least), I would prefer local test runs to remain snappy. A person testing locally can also trivially do go test -race ./....

@mislav mislav merged commit 7e3ce60 into cli:master Mar 5, 2020
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