Co-authored-by: Chris Eager <79161849+eager-signal@users.noreply.github.com>
This commit is contained in:
Dimitris Apostolou 2022-02-26 08:46:51 +02:00 committed by Chris Eager
parent 93d06e3f4d
commit 75854e104e
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ class SenderTest {
CompletableFuture<Result> future = sender.send(Message.newBuilder().withDestination("1").build());
// up to three failures can happen, with 100ms exponential backoff
// if we end up using the fourth, and finally try, it would be after ~700 ms
// if we end up using the fourth, and final try, it would be after ~700 ms
CompletableFuture.delayedExecutor(300, TimeUnit.MILLISECONDS).execute(() ->
wireMock.stubFor(any(anyUrl())
.willReturn(aResponse()