[#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:
parent
da8f384324
commit
aa23c6a83a
1 changed files with 10 additions and 12 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue