Skip to content

Commit 0580ee6

Browse files
committed
[TEST] Remove test trace logging
1 parent 679b8c8 commit 0580ee6

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

core/src/test/java/org/elasticsearch/transport/RemoteClusterServiceTests.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@
2121
import org.apache.lucene.util.IOUtils;
2222
import org.elasticsearch.Version;
2323
import org.elasticsearch.action.ActionListener;
24-
import org.elasticsearch.action.admin.cluster.state.ClusterStateAction;
2524
import org.elasticsearch.cluster.node.DiscoveryNode;
2625
import org.elasticsearch.common.settings.ClusterSettings;
2726
import org.elasticsearch.common.settings.Settings;
2827
import org.elasticsearch.common.transport.InetSocketTransportAddress;
2928
import org.elasticsearch.test.ESTestCase;
30-
import org.elasticsearch.test.junit.annotations.TestLogging;
3129
import org.elasticsearch.test.transport.MockTransportService;
3230
import org.elasticsearch.threadpool.TestThreadPool;
3331
import org.elasticsearch.threadpool.ThreadPool;
@@ -310,13 +308,8 @@ private ActionListener<Void> connectionListener(final CountDownLatch latch) {
310308
return ActionListener.wrap(x -> latch.countDown(), x -> fail());
311309
}
312310

313-
314-
315-
@TestLogging("org.elasticsearch.test.transport.MockTransportService.tracer:TRACE")
316311
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;
320313
final List<DiscoveryNode> knownNodes_c1 = new CopyOnWriteArrayList<>();
321314
final List<DiscoveryNode> knownNodes_c2 = new CopyOnWriteArrayList<>();
322315

0 commit comments

Comments
 (0)