Skip to content

Commit

Permalink
Revert "Increase timeouts in ZipkinWebClientSenderTests"
Browse files Browse the repository at this point in the history
This reverts commit 0aeea6f.

See spring-projectsgh-42375
  • Loading branch information
wilkinsona committed Sep 20, 2024
1 parent 267a642 commit b470261
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void onError(Throwable t) {
callbackResult.set(new CallbackResult(false, t));
}
});
return Awaitility.await().atMost(Duration.ofMinutes(1)).until(callbackResult::get, Objects::nonNull);
return Awaitility.await().atMost(Duration.ofSeconds(5)).until(callbackResult::get, Objects::nonNull);
}

protected void makeSyncRequest(List<byte[]> encodedSpans) throws IOException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ void beforeEach() {

@Override
Sender createSender() {
return createSender(Duration.ofMinutes(1));
return createSender(Duration.ofSeconds(10));
}

Sender createSender(Duration timeout) {
Expand Down

0 comments on commit b470261

Please sign in to comment.