fix timeout assertion in requestconvertertests

This commit is contained in:
Tal Levy 2018-10-16 16:38:56 -07:00
parent 3a555da34d
commit 335d268a66
1 changed files with 0 additions and 1 deletions

View File

@ -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));