From 6a156fc04993b3498f72d6bd511aff84264bcaad Mon Sep 17 00:00:00 2001 From: aviv Date: Mon, 26 Aug 2024 13:33:34 +0300 Subject: [PATCH] RavenDB-22440 : flaky test adjustments - increase timeout when waiting for database to unlock --- test/StressTests/Server/Documents/ETL/Olap/LocalTestsStress.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/StressTests/Server/Documents/ETL/Olap/LocalTestsStress.cs b/test/StressTests/Server/Documents/ETL/Olap/LocalTestsStress.cs index 51aea456c30d..e193d8b018ad 100644 --- a/test/StressTests/Server/Documents/ETL/Olap/LocalTestsStress.cs +++ b/test/StressTests/Server/Documents/ETL/Olap/LocalTestsStress.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; -using System.Threading; using System.Threading.Tasks; using Orders; using Parquet; @@ -221,7 +220,7 @@ public async Task AfterDatabaseRestartEtlShouldRespectRunFrequency() Assert.True(result.Success); Assert.False(result.Disabled); - var database = await WaitForDatabaseToUnlockAsync(store, timeout: TimeSpan.FromMilliseconds(1000)); + var database = await WaitForDatabaseToUnlockAsync(store, timeout: TimeSpan.FromSeconds(10)); Assert.NotNull(database); var etlDone2 = WaitForEtl(database, (n, statistics) => statistics.LoadSuccesses != 0);