Make sure that settings are propagated to all nodes

This commit is contained in:
Igor Motov 2013-04-11 10:59:14 -04:00
parent 2dfcc3c740
commit 00c035f88c
1 changed files with 1 additions and 0 deletions

View File

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