forked from TrueCloudLab/frostfs-node
[#649] shard/test: Increase GC remover interval
This was set in #348 to speed up tests. It seems 100ms doesn't increase overall test time, but it reduces the amount of logs by 100x factor. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
c4db8e7690
commit
9072772a09
2 changed files with 10 additions and 5 deletions
|
@ -101,7 +101,7 @@ func newCustomShard(t testing.TB, rootPath string, enableWriteCache bool, wcOpts
|
|||
require.NoError(t, err)
|
||||
return pool
|
||||
}),
|
||||
shard.WithGCRemoverSleepInterval(1 * time.Millisecond),
|
||||
shard.WithGCRemoverSleepInterval(100 * time.Millisecond),
|
||||
}
|
||||
|
||||
sh = shard.New(opts...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue