Skip to content

Conversation

@nvb
Copy link
Contributor

@nvb nvb commented May 17, 2018

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
@nvb nvb requested review from a team and windchan7 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

@nvb
Copy link
Contributor Author

nvb commented May 18, 2018

bors r+

@craig
Copy link
Contributor

craig bot commented May 18, 2018

Build failed

@nvb
Copy link
Contributor Author

nvb commented May 18, 2018

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!

@nvb nvb 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