Skip to content

cli: avoid running Example_demo_locality in the race detector#41044

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:skip/Example_demo_locality
Sep 25, 2019
Merged

cli: avoid running Example_demo_locality in the race detector#41044
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:skip/Example_demo_locality

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented Sep 24, 2019

Fixes #41045.

See the discussion on #41045: running a 9-node demo cluster under the race detector results in large CPU and ram usage that exceeds the CI budget.

Since the various moving pieces in the code are race-tested in other places, we are solely interested here to unit test functionality, and it's not necessary to run in testrace.

Release justification: removes test flakiness

Release note: None

@tbg tbg requested a review from a team as a code owner September 24, 2019 20:10
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@knz
Copy link
Copy Markdown
Contributor

knz commented Sep 25, 2019

I'll take this over.

@knz knz changed the title cli: skip Example_demo_locality cli: avoid running Example_demo_locality in the race detector Sep 25, 2019
See the discussion on cockroachdb#41045: running a 9-node demo cluster under the
race detector results in large CPU and ram usage that exceeds the CI
budget.

Since the various moving pieces in the code are race-tested in other
places, we are solely interested here to unit test functionality, and
it's not necessary to run in testrace.

Release justification: removes test flakiness

Release note: None
@knz knz force-pushed the skip/Example_demo_locality branch from 0e35d00 to 5df1260 Compare September 25, 2019 13:24
@knz
Copy link
Copy Markdown
Contributor

knz commented Sep 25, 2019

@tbg I have amended your commit, PTAL

@knz
Copy link
Copy Markdown
Contributor

knz commented Sep 25, 2019

(Note that the code could also encounter unrelated non-deterministic test flakiness until my other PR #41029 from yesterday, so that wasn't useless work)

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Sep 25, 2019

Thank you!

bors r=knz

craig bot pushed a commit that referenced this pull request Sep 25, 2019
41044: cli: avoid running Example_demo_locality in the race detector r=knz a=tbg

Fixes  #41045.

See the discussion on #41045: running a 9-node demo cluster under the race detector results in large CPU and ram usage that exceeds the CI budget.

Since the various moving pieces in the code are race-tested in other places, we are solely interested here to unit test functionality, and it's not necessary to run in `testrace`.

Release justification: removes test flakiness

Release note: None

Co-authored-by: Tobias Schottdorf <tobias.schottdorf@gmail.com>
@craig
Copy link
Copy Markdown
Contributor

craig bot commented Sep 25, 2019

Build succeeded

@craig craig bot merged commit 5df1260 into cockroachdb:master Sep 25, 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.

teamcity: failed test: Example_demo_locality

3 participants