storage: replace storage.TestStoreContext (and similar) with functions #1472
Labels
C-cleanup
Tech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.
E-easy
Easy issue to tackle, requires little or no CockroachDB experience
help wanted
Help is requested / needed by the one who filed the issue to fix it.
Milestone
Mutable global contexts like storage.TestStoreContext can be accidentally mutated, as in #1471. It would be better to make these factory functions returning new unshared objects to avoid state accidentally leaking between tests.
The text was updated successfully, but these errors were encountered: