Skip to content

kvserver: improve test #48185

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:replication.fix-short-test
May 4, 2020
Merged

kvserver: improve test #48185
craig[bot] merged 1 commit intocockroachdb:masterfrom
andreimatei:replication.fix-short-test

Conversation

@andreimatei
Copy link
Copy Markdown
Contributor

A test seems to have been confused about what clock controls the
inactivity determination for follower inactivity. It was trying to use a
manual clock which had no effect, because the inactivity is based on
timeutil.Now().

Fixes #33654.

Release note: None

@andreimatei andreimatei requested a review from nvb April 30, 2020 03:09
@andreimatei
Copy link
Copy Markdown
Contributor Author

just the last commit

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

A test seems to have been confused about what clock controls the
inactivity determination for follower inactivity. It was trying to use a
manual clock which had no effect, because the inactivity is based on
timeutil.Now().

Fixes cockroachdb#33654.

Release note: None
@andreimatei andreimatei force-pushed the replication.fix-short-test branch from 88a9ff2 to c1f6b60 Compare May 1, 2020 15:48
@andreimatei andreimatei requested a review from tbg May 1, 2020 15:50
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented May 1, 2020

❌ The GitHub CI (Cockroach) build has failed on c1f6b604.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

Copy link
Copy Markdown
Contributor Author

@andreimatei andreimatei left a comment

Choose a reason for hiding this comment

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

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @nvanbenschoten)

@craig
Copy link
Copy Markdown
Contributor

craig bot commented May 4, 2020

Build succeeded

@craig craig bot merged commit 3f8f452 into cockroachdb:master May 4, 2020
@andreimatei andreimatei deleted the replication.fix-short-test branch May 12, 2020 21:03
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.

storage: TestWedgedReplicaDetection takes 10s

3 participants