shard/test: Fix TestCounters() #771

Merged
fyrchik merged 2 commits from fyrchik/frostfs-node:add-metrics into master 2023-10-31 12:53:31 +00:00
Showing only changes of commit ac51de9230 - Show all commits

View file

@ -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()))