Revert "Increase timeouts in ZipkinWebClientSenderTests"

This reverts commit 0aeea6f069.

See gh-42375
This commit is contained in:
Andy Wilkinson
2024-09-20 11:06:18 +01:00
parent 267a642e0f
commit b4702612de
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ abstract class ZipkinHttpSenderTests {
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 {

View File

@@ -80,7 +80,7 @@ class ZipkinWebClientSenderTests extends ZipkinHttpSenderTests {
@Override
Sender createSender() {
return createSender(Duration.ofMinutes(1));
return createSender(Duration.ofSeconds(10));
}
Sender createSender(Duration timeout) {