test: ensure the each node sees 2 nodes.

This commit is contained in:
Martijn van Groningen 2016-03-09 11:39:20 +01:00
parent 5fca3b6126
commit b9b5c15fe1
1 changed files with 4 additions and 2 deletions

View File

@ -67,9 +67,11 @@ public class IngestProcessorNotInstalledOnAllNodesIT extends ESIntegTestCase {
public void testFailPipelineCreation() throws Exception {
installPlugin = true;
internalCluster().startNode();
String node1 = internalCluster().startNode();
installPlugin = false;
internalCluster().startNode();
String node2 = internalCluster().startNode();
ensureStableCluster(2, node1);
ensureStableCluster(2, node2);
try {
client().admin().cluster().preparePutPipeline("_id", pipelineSource).get();