[#651] engine/test: Speedup StorageEngine_Inhume
DCO action / DCO (pull_request) Successful in 4m29s Details
Build / Build Components (1.20) (pull_request) Successful in 8m45s Details
Build / Build Components (1.21) (pull_request) Successful in 8m39s Details
Vulncheck / Vulncheck (pull_request) Successful in 8m44s Details
Tests and linters / Staticcheck (pull_request) Successful in 12m37s Details
Tests and linters / Tests (1.20) (pull_request) Successful in 12m59s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 13m3s Details
Tests and linters / Lint (pull_request) Successful in 13m26s Details
Tests and linters / Tests with -race (pull_request) Successful in 13m58s Details

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
pull/827/head
Alexander Chuprov 2023-11-29 10:51:56 +03:00
parent dcd2966177
commit d6c7424eaa
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,7 @@ func TestStorageEngine_Inhume(t *testing.T) {
link.SetSplitID(splitID)
t.Run("delete small object", func(t *testing.T) {
t.Parallel()
e := testNewEngine(t).setShardsNum(t, 1).engine
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.Parallel()
s1 := testNewShard(t, 1)
s2 := testNewShard(t, 2)