Skip to content

Commit 2181ac3

Browse files
committed
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. Release note: None
1 parent e498a88 commit 2181ac3

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/sql/server_params_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ import (
99
"github.com/cockroachdb/cockroach/pkg/base"
1010
"github.com/cockroachdb/cockroach/pkg/kv/kvserver"
1111
"github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvserverbase"
12-
"github.com/cockroachdb/cockroach/pkg/sql/sqlstats"
1312
"github.com/cockroachdb/cockroach/pkg/sql/tests"
1413
)
1514

1615
// createTestServerParams creates a set of params suitable for SQL tests.
1716
func createTestServerParams() base.TestServerArgs {
1817
return base.TestServerArgs{
19-
Knobs: base.TestingKnobs{
20-
SQLStatsKnobs: sqlstats.CreateTestingKnobs(),
21-
},
18+
Knobs: base.TestingKnobs{},
2219
}
2320
}
2421

0 commit comments

Comments
 (0)