From 335d268a66274b738ce76e311249a721fb10a1b4 Mon Sep 17 00:00:00 2001 From: Tal Levy Date: Tue, 16 Oct 2018 16:38:56 -0700 Subject: [PATCH] fix timeout assertion in requestconvertertests --- .../java/org/elasticsearch/client/RequestConvertersTests.java | 1 - 1 file changed, 1 deletion(-) diff --git a/client/rest-high-level/src/test/java/org/elasticsearch/client/RequestConvertersTests.java b/client/rest-high-level/src/test/java/org/elasticsearch/client/RequestConvertersTests.java index 076c46c9f86..2f81ced664b 100644 --- a/client/rest-high-level/src/test/java/org/elasticsearch/client/RequestConvertersTests.java +++ b/client/rest-high-level/src/test/java/org/elasticsearch/client/RequestConvertersTests.java @@ -1534,7 +1534,6 @@ public class RequestConvertersTests extends ESTestCase { IndicesOptions indicesOptions = setRandomIndicesOptions(IndicesOptions.strictExpandOpen(), expectedParams); RemoveIndexLifecyclePolicyRequest req = new RemoveIndexLifecyclePolicyRequest(Arrays.asList(indices), indicesOptions); setRandomMasterTimeout(req::setMasterTimeout, TimedRequest.DEFAULT_MASTER_NODE_TIMEOUT, expectedParams); - setRandomTimeoutTimeValue(req::setTimeout, TimedRequest.DEFAULT_ACK_TIMEOUT, expectedParams); Request request = RequestConverters.removeIndexLifecyclePolicy(req); assertThat(request.getMethod(), equalTo(HttpDelete.METHOD_NAME));