Skip to content

Commit

Permalink
Increase Timeout in SnapshotSTressTestsIT (#82020) (#82024)
Browse files Browse the repository at this point in the history
If it takes more than 30s to complete all tasks it might also take
more time to resolve the outstanding tasks. These can take a lot of time
on OSX or slow file systems (i.e. WindowsFS from randomization).
Lets see if 2 minutes is enough in the real world.

closes #79718
  • Loading branch information
original-brownbear committed Dec 22, 2021
1 parent 2918a40 commit 3cdae7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public void run() throws InterruptedException {
}

assertTrue(shouldStop.compareAndSet(false, true));
final long permitDeadlineMillis = threadPool.relativeTimeInMillis() + TimeUnit.SECONDS.toMillis(30);
final long permitDeadlineMillis = threadPool.relativeTimeInMillis() + TimeUnit.MINUTES.toMillis(2);

final List<String> failedPermitAcquisitions = new ArrayList<>();
acquirePermitsAtEnd(
Expand Down

0 comments on commit 3cdae7e

Please sign in to comment.