소스 검색

[TEST] Remove timeout - it's not needed in this test

Simon Willnauer 10 년 전
부모
커밋
753376dba7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/src/test/java/org/elasticsearch/client/transport/TransportClientNodesServiceTests.java

+ 1 - 1
core/src/test/java/org/elasticsearch/client/transport/TransportClientNodesServiceTests.java

@@ -118,7 +118,7 @@ public class TransportClientNodesServiceTests extends ElasticsearchTestCase {
                             throw new IllegalArgumentException();
                         }
 
-                        iteration.transportService.sendRequest(node, "action", new TestRequest(), new TransportRequestOptions().withTimeout(50), new BaseTransportResponseHandler<TestResponse>() {
+                        iteration.transportService.sendRequest(node, "action", new TestRequest(), new TransportRequestOptions(), new BaseTransportResponseHandler<TestResponse>() {
                             @Override
                             public TestResponse newInstance() {
                                 return new TestResponse();