We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 363f433 commit 335c583Copy full SHA for 335c583
raftstore/testutil.go
@@ -86,6 +86,7 @@ type testClusterOptions struct {
86
87
func newTestClusterOptions() *testClusterOptions {
88
return &testClusterOptions{
89
+ logLevel: zap.DebugLevel,
90
recreate: true,
91
dataOpts: &cpebble.Options{},
92
}
@@ -98,9 +99,6 @@ func (opts *testClusterOptions) adjust() {
98
99
if opts.nodes == 0 {
100
opts.nodes = 3
101
- if opts.logLevel == 0 {
102
- opts.logLevel = zap.DebugLevel
103
- }
104
if opts.storageStatsReaderFunc == nil {
105
opts.storageStatsReaderFunc = func(s *store) storageStatsReader {
106
return &customStorageStatsReader{
0 commit comments