[#1705] engine/test: Increase evacuation timeout
All checks were successful
Vulncheck / Vulncheck (push) Successful in 2m27s
Pre-commit hooks / Pre-commit (push) Successful in 2m49s
Build / Build Components (push) Successful in 3m0s
OCI image / Build container images (push) Successful in 4m52s
Tests and linters / Run gofumpt (push) Successful in 4m56s
Tests and linters / gopls check (push) Successful in 5m38s
Tests and linters / Staticcheck (push) Successful in 5m54s
Tests and linters / Lint (push) Successful in 6m38s
Tests and linters / Tests (push) Successful in 6m44s
Tests and linters / Tests with -race (push) Successful in 10m1s

This test was flaky in CI probably because of runner load fluctuations.
Let's increase the timeout and see if the flakiness goes away.

(close #1705)

Change-Id: I76f96e3d6f4adb3d5de0e27b8ee6b47685236277
Signed-off-by: Vitaliy Potyarkin <v.potyarkin@yadro.com>
This commit is contained in:
Vitaliy Potyarkin 2025-04-04 12:48:22 +03:00
parent 2938498b52
commit 5350632e01

View file

@ -208,7 +208,7 @@ func testWaitForEvacuationCompleted(t *testing.T, e *StorageEngine) *EvacuationS
st, err = e.GetEvacuationState(context.Background())
require.NoError(t, err)
return st.ProcessingStatus() == EvacuateProcessStateCompleted
}, 3*time.Second, 10*time.Millisecond)
}, 6*time.Second, 10*time.Millisecond)
return st
}