From 00c035f88c1a161ea831c6a7d28d421a5d50a38c Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Thu, 11 Apr 2013 10:59:14 -0400 Subject: [PATCH] Make sure that settings are propagated to all nodes --- .../test/integration/threadpool/SimpleThreadPoolTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java b/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java index a18774210b9..491497600a2 100644 --- a/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java +++ b/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java @@ -95,6 +95,7 @@ public class SimpleThreadPoolTests extends AbstractNodesTests { }); client1.admin().cluster().prepareUpdateSettings().setTransientSettings(settingsBuilder().put("threadpool.search.type", "fixed").build()).execute().actionGet(); barrier.await(); + Thread.sleep(200); // Check that node info is correct NodesInfoResponse nodesInfoResponse = client2.admin().cluster().prepareNodesInfo().all().execute().actionGet();