From 7fb98769a625b96d89fd5df482c292b67e9eb88a Mon Sep 17 00:00:00 2001 From: Shay Banon Date: Thu, 27 Dec 2012 14:16:16 -0800 Subject: [PATCH] add a sleep to make sure settings are applied --- .../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 95dd3ecc3e2..b7fbe7144d7 100644 --- a/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java +++ b/src/test/java/org/elasticsearch/test/integration/threadpool/SimpleThreadPoolTests.java @@ -122,6 +122,7 @@ public class SimpleThreadPoolTests extends AbstractNodesTests { .put("threadpool.search.keep_alive", "15s") .put("threadpool.search.capacity", "100") .build()).execute().actionGet(); + Thread.sleep(200); nodesInfoResponse = client2.admin().cluster().prepareNodesInfo().all().execute().actionGet(); for (int i = 0; i < 2; i++) { NodeInfo nodeInfo = nodesInfoResponse.nodes()[i];