From 4f8d7c18b8eb42076e2a0f73cfc409928b4dcb9e Mon Sep 17 00:00:00 2001 From: Martin Kouba Date: Wed, 4 Sep 2024 15:24:24 +0200 Subject: [PATCH] REST: comment out useless 10K System.out.printl() in the DrainTest --- .../resteasy/reactive/server/test/stress/DrainTest.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extensions/resteasy-reactive/rest/deployment/src/test/java/io/quarkus/resteasy/reactive/server/test/stress/DrainTest.java b/extensions/resteasy-reactive/rest/deployment/src/test/java/io/quarkus/resteasy/reactive/server/test/stress/DrainTest.java index 8a26db32c2b7b..828fd2d071f69 100644 --- a/extensions/resteasy-reactive/rest/deployment/src/test/java/io/quarkus/resteasy/reactive/server/test/stress/DrainTest.java +++ b/extensions/resteasy-reactive/rest/deployment/src/test/java/io/quarkus/resteasy/reactive/server/test/stress/DrainTest.java @@ -10,7 +10,6 @@ import java.net.http.HttpResponse; import java.security.SecureRandom; import java.security.cert.X509Certificate; -import java.time.Instant; import java.util.stream.IntStream; import javax.net.ssl.SSLContext; @@ -83,7 +82,7 @@ void testAsyncHttp2() { var sum = IntStream.range(0, 10000) .parallel() .map(i -> get("https://localhost:8444/test/bytesAsync")) - .peek(i -> System.out.println(Instant.now() + " Got response: " + i)) + //.peek(i -> System.out.println(Instant.now() + " Got response: " + i)) .sum(); System.out.println("Request completed in " + (System.currentTimeMillis() - before) + " ms"); Assertions.assertThat(sum).isEqualTo(1000000000);