Issue #12185 code formatting

This commit is contained in:
Lars Krog-Jensen 2024-08-22 10:58:51 +02:00
parent 497da2da0a
commit 7aa4c79ab7
1 changed files with 17 additions and 15 deletions

View File

@ -425,7 +425,8 @@ public class QoSHandlerTest
Thread.sleep(delay);
callback.succeeded();
}
catch (Throwable x) {
catch (Throwable x)
{
callback.failed(x);
}
return true;
@ -441,7 +442,8 @@ 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());