shard/test: Fix TestCounters() #771
1 changed files with 1 additions and 0 deletions
|
@ -268,6 +268,7 @@ func shardWithMetrics(t *testing.T, path string) (*Shard, *metricsStore) {
|
|||
meta.WithPath(filepath.Join(path, "meta")),
|
||||
meta.WithEpochState(epochState{})),
|
||||
WithMetricsWriter(mm),
|
||||
WithGCRemoverSleepInterval(time.Hour),
|
||||
)
|
||||
require.NoError(t, sh.Open(context.Background()))
|
||||
require.NoError(t, sh.Init(context.Background()))
|
||||
|
|
Loading…
Reference in a new issue