diff --git a/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/QoSHandlerTest.java b/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/QoSHandlerTest.java index 2e4392bbcb4..d4ad06b7af9 100644 --- a/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/QoSHandlerTest.java +++ b/jetty-core/jetty-server/src/test/java/org/eclipse/jetty/server/handler/QoSHandlerTest.java @@ -446,11 +446,14 @@ public class QoSHandlerTest GET /%d HTTP/1.1 Host: localhost - """.formatted(i))) { + """.formatted(i))) + { String text = endPoint.getResponse(false, parallelism * delay * 5, TimeUnit.MILLISECONDS); HttpTester.Response response = HttpTester.parseResponse(text); statusCodes.add(response.getStatus()); - } catch (Exception x) { + } + catch (Exception x) + { fail(x); } }));