fix line length

This commit is contained in:
javanna 2016-06-09 16:57:57 +02:00 committed by Luca Cavanna
parent de8b9fd579
commit 9a4971d3fd
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ public class RestClientBuilderTests extends LuceneTestCase {
}
try {
RestClient.builder(new HttpHost("localhost", 9200)).setMaxRetryTimeoutMillis(RandomInts.randomIntBetween(random(), Integer.MIN_VALUE, 0));
RestClient.builder(new HttpHost("localhost", 9200))
.setMaxRetryTimeoutMillis(RandomInts.randomIntBetween(random(), Integer.MIN_VALUE, 0));
fail("should have failed");
} catch(IllegalArgumentException e) {
assertEquals("maxRetryTimeout must be greater than 0", e.getMessage());