fix line length
This commit is contained in:
parent
de8b9fd579
commit
9a4971d3fd
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue