[#651] engine/test: Speedup StorageEngine_Inhume
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
445ebcc0e7
commit
b2c63e57ba
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@ func TestStorageEngine_Inhume(t *testing.T) {
|
||||||
link.SetSplitID(splitID)
|
link.SetSplitID(splitID)
|
||||||
|
|
||||||
t.Run("delete small object", func(t *testing.T) {
|
t.Run("delete small object", func(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
e := testNewEngine(t).setShardsNum(t, 1).engine
|
e := testNewEngine(t).setShardsNum(t, 1).engine
|
||||||
defer e.Close(context.Background())
|
defer e.Close(context.Background())
|
||||||
|
|
||||||
|
@ -54,6 +55,7 @@ func TestStorageEngine_Inhume(t *testing.T) {
|
||||||
})
|
})
|
||||||
|
|
||||||
t.Run("delete big object", func(t *testing.T) {
|
t.Run("delete big object", func(t *testing.T) {
|
||||||
|
t.Parallel()
|
||||||
s1 := testNewShard(t, 1)
|
s1 := testNewShard(t, 1)
|
||||||
s2 := testNewShard(t, 2)
|
s2 := testNewShard(t, 2)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue