kvserver: break out integration-style tests #78237
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
no-issue-activity
X-stale
We would like to be able to move the
kvserver_test
tests into subpackages tostart trimming down the
kvserver
package as a whole. This projected to allowreducing CI cycle time and, over time, will allow specialized test suites to
live in subpackages (for example, integration tests related to data placement).
The main obstacle is that
kvserver_test
tests reach into internals ofkvserver
using thehelpers_test
files which add additional accessors, etc.The proposal is to move any such accessors behind testing interfaces on their
receivers, i.e.
(*Replica).Testing().DoSomething()
, and then to move allkvserver_test
tests into a subpackagekvinttest
(name TBD).Internal discussion
Jira issue: CRDB-14029
The text was updated successfully, but these errors were encountered: