Ver Fonte

[TEST] Don't use transport client if we are blocking internal actions we might run into disconnects

Simon Willnauer há 9 anos atrás
pai
commit
bb6e7eeb7a

+ 1 - 1
core/src/test/java/org/elasticsearch/action/admin/cluster/node/tasks/TasksIT.java

@@ -96,7 +96,7 @@ import static org.hamcrest.Matchers.not;
  * <p>
  * We need at least 2 nodes so we have a master node a non-master node
  */
-@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.SUITE, minNumDataNodes = 2)
+@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.SUITE, minNumDataNodes = 2, transportClientRatio = 0.0)
 public class TasksIT extends ESIntegTestCase {
 
     private Map<Tuple<String, String>, RecordingTaskManagerListener> listeners = new HashMap<>();