diff --git a/src/dbnode/integration/graphite_find_test.go b/src/dbnode/integration/graphite_find_test.go index 1aacc89eb8..393caab752 100644 --- a/src/dbnode/integration/graphite_find_test.go +++ b/src/dbnode/integration/graphite_find_test.go @@ -170,9 +170,9 @@ local: ) switch testOpts.datasetSize { case smallDatasetSize: - levels = 5 - entriesPerLevelMin = 5 - entriesPerLevelMax = 7 + levels = 4 + entriesPerLevelMin = 7 + entriesPerLevelMax = 10 case largeDatasetSize: // Ideally we'd always use a large dataset size, however you do need // high concurrency to validate this entire dataset and CI can't seem @@ -334,7 +334,8 @@ local: assert.NoError(t, err) log.Error("aborting checks due to error") default: - + require.FailNow(t, "unknown error condition") + log.Error("aborting checks due to unknown condition") } } }) diff --git a/src/dbnode/storage/coldflush.go b/src/dbnode/storage/coldflush.go index d0b1f7c46d..9e341241f2 100644 --- a/src/dbnode/storage/coldflush.go +++ b/src/dbnode/storage/coldflush.go @@ -108,7 +108,6 @@ func (m *coldFlushManager) Run(t xtime.UnixNano) bool { m.Unlock() }() - if log := m.log.Check(zapcore.DebugLevel, "cold flush run start"); log != nil { log.Write(zap.Time("time", t.ToTime())) } @@ -132,7 +131,7 @@ func (m *coldFlushManager) Run(t xtime.UnixNano) bool { zap.Time("time", t.ToTime()), zap.Error(err)) }) } - + if log := m.log.Check(zapcore.DebugLevel, "cold flush run complete"); log != nil { log.Write(zap.Time("time", t.ToTime())) }