[#668] shard/test: Remove subtest from TestCounters

Otherwise, individual tests cannot be run.

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
Evgenii Stratonikov 2023-08-30 18:25:56 +03:00 committed by Evgenii Stratonikov
parent da8f384324
commit aa23c6a83a

View file

@ -163,7 +163,6 @@ func TestCounters(t *testing.T) {
totalPayload += oSize totalPayload += oSize
} }
t.Run("put", func(t *testing.T) {
var prm shard.PutPrm var prm shard.PutPrm
for i := 0; i < objNumber; i++ { for i := 0; i < objNumber; i++ {
@ -177,7 +176,6 @@ func TestCounters(t *testing.T) {
require.Equal(t, uint64(objNumber), mm.getObjectCounter(logical)) require.Equal(t, uint64(objNumber), mm.getObjectCounter(logical))
require.Equal(t, expectedSizes, mm.containerSizes()) require.Equal(t, expectedSizes, mm.containerSizes())
require.Equal(t, totalPayload, mm.payloadSize()) require.Equal(t, totalPayload, mm.payloadSize())
})
t.Run("inhume_GC", func(t *testing.T) { t.Run("inhume_GC", func(t *testing.T) {
var prm shard.InhumePrm var prm shard.InhumePrm