Fix line length

This commit is contained in:
Ryan Ernst 2017-02-14 21:23:21 -08:00
parent 9e80e290d6
commit 79a1629f74
1 changed files with 5 additions and 2 deletions

View File

@ -148,7 +148,9 @@ public class Netty4HttpServerTransportTests extends ESTestCase {
}
/**
* Test that {@link Netty4HttpServerTransport} responds to a 100-continue expectation with too large a content-length with a 413 status.
* Test that {@link Netty4HttpServerTransport} responds to a
* 100-continue expectation with too large a content-length
* with a 413 status.
* @throws InterruptedException if the client communication with the server is interrupted
*/
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/23172")
@ -198,7 +200,8 @@ public class Netty4HttpServerTransportTests extends ESTestCase {
final FullHttpResponse response = client.post(remoteAddress.address(), request);
assertThat(response.status(), equalTo(expectedStatus));
if (expectedStatus.equals(HttpResponseStatus.CONTINUE)) {
final FullHttpRequest continuationRequest = new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/", Unpooled.EMPTY_BUFFER);
final FullHttpRequest continuationRequest =
new DefaultFullHttpRequest(HttpVersion.HTTP_1_1, HttpMethod.POST, "/", Unpooled.EMPTY_BUFFER);
final FullHttpResponse continuationResponse = client.post(remoteAddress.address(), continuationRequest);
assertThat(continuationResponse.status(), is(HttpResponseStatus.OK));