You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
156986: sql: remove createTestServerParamsAllowTenants r=yuzefovich a=yuzefovich
**upgrade: remove unused SQLStats testing knobs**
**sql: do not set sqlstats knobs**
This was added in 2fad679 because we called CreateTestServerParams in other tests. That is no longer the case as of 5adea01, so I don't think we need that.
**sql: remove createTestServerParamsAllowTenants**
This commit removes `createTestServerParamsAllowTenants`. Previously, this method returned two arguments, but the second one was only used only in a handful of spots - we now inline the necessary code to create CommandFilters in each spot. In all other spots the helper method no longer (given the change in the previous commit) provided any value, so we replaced all its usages with directly constructing the TestServerArgs.
Additionally some stale comments are removed.
Epic: None
Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
0 commit comments