From cbb19032dfb9643056656e82a62cfa8e0a6a0648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20B=C3=BCscher?= Date: Wed, 10 Jul 2019 22:41:18 +0200 Subject: [PATCH] [Test] Additional logging for RemoteClusterClientTests (#44124) --- .../org/elasticsearch/transport/RemoteClusterClientTests.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/test/java/org/elasticsearch/transport/RemoteClusterClientTests.java b/server/src/test/java/org/elasticsearch/transport/RemoteClusterClientTests.java index 6e9c2e4eaf3..3d347512160 100644 --- a/server/src/test/java/org/elasticsearch/transport/RemoteClusterClientTests.java +++ b/server/src/test/java/org/elasticsearch/transport/RemoteClusterClientTests.java @@ -55,7 +55,10 @@ public class RemoteClusterClientTests extends ESTestCase { .put("cluster.remote.test.seeds", remoteNode.getAddress().getAddress() + ":" + remoteNode.getAddress().getPort()).build(); try (MockTransportService service = MockTransportService.createNewService(localSettings, Version.CURRENT, threadPool, null)) { service.start(); + // following two log lines added to investigate #41745, can be removed once issue is closed + logger.info("Start accepting incoming requests on local transport service"); service.acceptIncomingRequests(); + logger.info("now accepting incoming requests on local transport"); RemoteClusterService remoteClusterService = service.getRemoteClusterService(); assertTrue(remoteClusterService.isRemoteNodeConnected("test", remoteNode)); Client client = remoteClusterService.getRemoteClusterClient(threadPool, "test");