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

storage: bump RaftTickInterval in TestReplicaLazyLoad #25642

Merged
merged 1 commit into from
May 18, 2018

Conversation

nvanbenschoten
Copy link
Member

Fixes #25430.

Before this change, the RaftTickInterval in the test was so low that
node liveness only had a few milliseconds to perform updates. This
caused the test to be flaky, especially in #25281, which is slowing
down all tests by changing from in-memory stores to on-disk stores. By
bumping up the RaftTickInterval by an order of magnitude in the test,
we give node liveness much more time to perform updates.

Release note: None

Fixes cockroachdb#25430.

Before this change, the `RaftTickInterval` in the test was so low that
node liveness only had a few milliseconds to perform updates. This
caused the test to be flaky, especially in cockroachdb#25281, which is slowing
down all tests by changing from in-memory stores to on-disk stores. By
bumping up the `RaftTickInterval` by an order of magnitude in the test,
we give node liveness much more time to perform updates.

Release note: None
@nvanbenschoten nvanbenschoten requested review from windchan7 and a team May 17, 2018 22:54
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@windchan7
Copy link
Contributor

:lgtm:

Verified it works through this build:
https://teamcity.cockroachdb.com/viewLog.html?buildTypeId=Cockroach_UnitTests&buildId=664698&branch_Cockroach_UnitTests=25281


Review status: 0 of 1 files reviewed at latest revision, all discussions resolved, some commit checks failed.


Comments from Reviewable

@nvanbenschoten
Copy link
Member Author

bors r+

@craig
Copy link
Contributor

craig bot commented May 18, 2018

Build failed

@nvanbenschoten
Copy link
Member Author

bors r+

craig bot pushed a commit that referenced this pull request May 18, 2018
25642: storage: bump RaftTickInterval in TestReplicaLazyLoad r=nvanbenschoten a=nvanbenschoten

Fixes #25430.

Before this change, the `RaftTickInterval` in the test was so low that
node liveness only had a few milliseconds to perform updates. This
caused the test to be flaky, especially in #25281, which is slowing
down all tests by changing from in-memory stores to on-disk stores. By
bumping up the `RaftTickInterval` by an order of magnitude in the test,
we give node liveness much more time to perform updates.

Release note: None

Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
@craig
Copy link
Contributor

craig bot commented May 18, 2018

Build succeeded

@craig craig bot merged commit 327a45d into cockroachdb:master May 18, 2018
@windchan7
Copy link
Contributor

Thanks, Nathan!

@nvanbenschoten nvanbenschoten deleted the nvanbenschoten/fixLazyLoad branch May 18, 2018 03:32
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