|
21 | 21 | import org.apache.lucene.util.IOUtils; |
22 | 22 | import org.elasticsearch.Version; |
23 | 23 | import org.elasticsearch.action.ActionListener; |
24 | | -import org.elasticsearch.action.admin.cluster.state.ClusterStateAction; |
25 | 24 | import org.elasticsearch.cluster.node.DiscoveryNode; |
26 | 25 | import org.elasticsearch.common.settings.ClusterSettings; |
27 | 26 | import org.elasticsearch.common.settings.Settings; |
28 | 27 | import org.elasticsearch.common.transport.InetSocketTransportAddress; |
29 | 28 | import org.elasticsearch.test.ESTestCase; |
30 | | -import org.elasticsearch.test.junit.annotations.TestLogging; |
31 | 29 | import org.elasticsearch.test.transport.MockTransportService; |
32 | 30 | import org.elasticsearch.threadpool.TestThreadPool; |
33 | 31 | import org.elasticsearch.threadpool.ThreadPool; |
@@ -310,13 +308,8 @@ private ActionListener<Void> connectionListener(final CountDownLatch latch) { |
310 | 308 | return ActionListener.wrap(x -> latch.countDown(), x -> fail()); |
311 | 309 | } |
312 | 310 |
|
313 | | - |
314 | | - |
315 | | - @TestLogging("org.elasticsearch.test.transport.MockTransportService.tracer:TRACE") |
316 | 311 | public void testCollectNodes() throws InterruptedException, IOException { |
317 | | - final Settings settings = Settings.builder() |
318 | | - .put("transport.tracer.include", ClusterStateAction.NAME) |
319 | | - .build(); |
| 312 | + final Settings settings = Settings.EMPTY; |
320 | 313 | final List<DiscoveryNode> knownNodes_c1 = new CopyOnWriteArrayList<>(); |
321 | 314 | final List<DiscoveryNode> knownNodes_c2 = new CopyOnWriteArrayList<>(); |
322 | 315 |
|
|
0 commit comments