Revert "Merge branch '3.2.x' into 3.3.x"

This reverts commit d86160d362, reversing
changes made to 70d2907351.

See gh-42388
This commit is contained in:
Andy Wilkinson 2024-09-20 11:07:30 +01:00
commit 391b643d8d
1 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ class ZipkinWebClientSenderTests extends ZipkinHttpSenderTests {
@Override
BytesMessageSender createSender() {
return createSender(Encoding.JSON, Duration.ofMinutes(1));
return createSender(Encoding.JSON, Duration.ofSeconds(10));
}
ZipkinWebClientSender createSender(Encoding encoding, Duration timeout) {
@ -110,7 +110,7 @@ class ZipkinWebClientSenderTests extends ZipkinHttpSenderTests {
void sendShouldSendSpansToZipkinInProto3() throws IOException, InterruptedException {
mockBackEnd.enqueue(new MockResponse());
List<byte[]> encodedSpans = List.of(toByteArray("span1"), toByteArray("span2"));
try (BytesMessageSender sender = createSender(Encoding.PROTO3, Duration.ofMinutes(1))) {
try (BytesMessageSender sender = createSender(Encoding.PROTO3, Duration.ofSeconds(10))) {
sender.send(encodedSpans);
}
requestAssertions((request) -> {
@ -126,7 +126,7 @@ class ZipkinWebClientSenderTests extends ZipkinHttpSenderTests {
mockBackEnd.enqueue(new MockResponse());
try (HttpEndpointSupplier httpEndpointSupplier = new TestHttpEndpointSupplier(ZIPKIN_URL)) {
try (BytesMessageSender sender = createSender((endpoint) -> httpEndpointSupplier, Encoding.JSON,
Duration.ofMinutes(1))) {
Duration.ofSeconds(10))) {
sender.send(Collections.emptyList());
sender.send(Collections.emptyList());
}