Fixed compilation issue caused by the lack of a thread pool name

This commit is contained in:
Boaz Leskes 2014-06-26 10:58:15 +02:00
parent 1af82fd96a
commit c3e84eb639
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class ZenFaultDetectionTests extends ElasticsearchTestCase {
@Before
public void setUp() throws Exception {
super.setUp();
threadPool = new ThreadPool();
threadPool = new ThreadPool(getClass().getName());
serviceA = build(ImmutableSettings.builder().put("name", "TS_A").build(), version0);
nodeA = new DiscoveryNode("TS_A", "TS_A", serviceA.boundAddress().publishAddress(), ImmutableMap.<String, String>of(), version0);
serviceB = build(ImmutableSettings.builder().put("name", "TS_B").build(), version1);