Fixed compilation issue caused by the lack of a thread pool name
This commit is contained in:
parent
1af82fd96a
commit
c3e84eb639
|
@ -60,7 +60,7 @@ public class ZenFaultDetectionTests extends ElasticsearchTestCase {
|
||||||
@Before
|
@Before
|
||||||
public void setUp() throws Exception {
|
public void setUp() throws Exception {
|
||||||
super.setUp();
|
super.setUp();
|
||||||
threadPool = new ThreadPool();
|
threadPool = new ThreadPool(getClass().getName());
|
||||||
serviceA = build(ImmutableSettings.builder().put("name", "TS_A").build(), version0);
|
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);
|
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);
|
serviceB = build(ImmutableSettings.builder().put("name", "TS_B").build(), version1);
|
||||||
|
|
Loading…
Reference in New Issue