Skip to content

deflake TestStoreRangeMergeRaftSnapshot by using a manual clock#46373

Merged
craig[bot] merged 1 commit intomasterfrom
owen-fix-flaky-raftsnapshot-test
Mar 21, 2020
Merged

deflake TestStoreRangeMergeRaftSnapshot by using a manual clock#46373
craig[bot] merged 1 commit intomasterfrom
owen-fix-flaky-raftsnapshot-test

Conversation

@OwenQian
Copy link
Copy Markdown

This test became flaky after #45984, which changed the behavior of multiTestContext to use a real-time clock if it wasn't explicitly set to a manual clock.

Fixes #46192.

Release justification: Deflake test in non-production code.

Release note: None.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@OwenQian OwenQian requested review from nvb and tbg March 20, 2020 17:10
@OwenQian
Copy link
Copy Markdown
Author

I suspect the reason that a real-time clock causes this test to be flaky is that the timestamps on the SSTs no longer align, but haven't verified that this is what was causing the test to fail.

@OwenQian
Copy link
Copy Markdown
Author

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 20, 2020

Build failed

@OwenQian
Copy link
Copy Markdown
Author

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 21, 2020

Build failed

…t of

\#45984, which changed the behavior of multiTestContext to use a real-time
clock if it wasn't explicitly set to a manual clock.

Release justification: Deflake test in non-production code.
Release note: None.
@OwenQian OwenQian force-pushed the owen-fix-flaky-raftsnapshot-test branch from ffc1eef to 1a12a9a Compare March 21, 2020 01:59
@OwenQian
Copy link
Copy Markdown
Author

bors r=tbg

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 21, 2020

Build succeeded

@craig craig bot merged commit 88e95b0 into master Mar 21, 2020
@jordanlewis jordanlewis deleted the owen-fix-flaky-raftsnapshot-test branch December 23, 2020 05:31
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.

kv/kvserver: TestStoreRangeMergeRaftSnapshot failed

3 participants