Increase timeouts in ZipkinWebClientSenderTests
This is an attempt to stabilize the tests. They are currently flaky due to a timeout that appears to occur because the mock web server isn't responding quickly enough. A larger timeout will either confirm this if the tests stabilize or indicate that the problem has a different cause if they do not stabilize. Closes gh-42375
This commit is contained in:
@@ -91,7 +91,7 @@ abstract class ZipkinHttpSenderTests {
|
||||
callbackResult.set(new CallbackResult(false, t));
|
||||
}
|
||||
});
|
||||
return Awaitility.await().atMost(Duration.ofSeconds(5)).until(callbackResult::get, Objects::nonNull);
|
||||
return Awaitility.await().atMost(Duration.ofMinutes(1)).until(callbackResult::get, Objects::nonNull);
|
||||
}
|
||||
|
||||
protected void makeSyncRequest(List<byte[]> encodedSpans) throws IOException {
|
||||
|
||||
@@ -80,7 +80,7 @@ class ZipkinWebClientSenderTests extends ZipkinHttpSenderTests {
|
||||
|
||||
@Override
|
||||
Sender createSender() {
|
||||
return createSender(Duration.ofSeconds(10));
|
||||
return createSender(Duration.ofMinutes(1));
|
||||
}
|
||||
|
||||
Sender createSender(Duration timeout) {
|
||||
|
||||
Reference in New Issue
Block a user