cockroachdb / cockroachdb/cockroach

kv: allow unit tests to run with a mock Liveness

Open
#121,224 0 comments 0 reactions 0 assignees View on GitHub
C-enhancement
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

Now that liveness has been centarlize into the NodeVitality, it should be possible to remove the flakiness of a number of tests by making sure the liveness record never expires. Today a number of tests are disabled under stress-race due to liveness timeouts. It would be good to re-enable these tests.

Ideally only tests that want to see non-live stores will have to deal with the timing issues from liveness.

Jira issue: CRDB-37144

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.