cockroachdb / cockroachdb/cockroach
kv: allow unit tests to run with a mock Liveness
Open
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
Assessment
This issue has not been assessed yet.