[#9999] engine: Fix data race in evacuation tests
All checks were successful
DCO action / DCO (pull_request) Successful in 43s
Vulncheck / Vulncheck (pull_request) Successful in 1m14s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m36s
Build / Build Components (pull_request) Successful in 1m30s
Tests and linters / Staticcheck (pull_request) Successful in 3m6s
Tests and linters / Run gofumpt (pull_request) Successful in 2m57s
Tests and linters / Tests with -race (pull_request) Successful in 3m13s
Tests and linters / Lint (pull_request) Successful in 3m20s
Tests and linters / Tests (pull_request) Successful in 3m3s
Tests and linters / gopls check (pull_request) Successful in 3m20s
All checks were successful
DCO action / DCO (pull_request) Successful in 43s
Vulncheck / Vulncheck (pull_request) Successful in 1m14s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m36s
Build / Build Components (pull_request) Successful in 1m30s
Tests and linters / Staticcheck (pull_request) Successful in 3m6s
Tests and linters / Run gofumpt (pull_request) Successful in 2m57s
Tests and linters / Tests with -race (pull_request) Successful in 3m13s
Tests and linters / Lint (pull_request) Successful in 3m20s
Tests and linters / Tests (pull_request) Successful in 3m3s
Tests and linters / gopls check (pull_request) Successful in 3m20s
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
dae0949f6e
commit
ce169db9e1
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ func TestEvacuateObjectsAsync(t *testing.T) {
|
|||
eg, egCtx := errgroup.WithContext(context.Background())
|
||||
eg.Go(func() error {
|
||||
require.NoError(t, e.Evacuate(egCtx, prm), "first evacuation failed")
|
||||
st = testWaitForEvacuationCompleted(t, e)
|
||||
st := testWaitForEvacuationCompleted(t, e)
|
||||
require.Equal(t, uint64(3), st.ObjectsEvacuated(), "invalid final count")
|
||||
return nil
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue