Skip to content

Commit

Permalink
RavenDB-22440 : flaky test adjustments - increase timeout when waitin…
Browse files Browse the repository at this point in the history
…g for database to unlock
  • Loading branch information
aviv committed Aug 26, 2024
1 parent bc4eb18 commit 6a156fc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6a156fc

Please sign in to comment.