Test: add additional logging to SslMultiPortTests
This commit adds some additional logging to the SslMultiPortTests to help with debugging an intermittent failure. Relates elastic/x-pack-elasticsearch#1809 Original commit: elastic/x-pack-elasticsearch@ae9c967249
This commit is contained in:
parent
40d315b244
commit
e775e84a7e
|
@ -58,7 +58,7 @@ public class SslMultiPortTests extends SecurityIntegTestCase {
|
|||
throw new RuntimeException(e);
|
||||
}
|
||||
|
||||
return Settings.builder()
|
||||
Settings settings = Settings.builder()
|
||||
.put(super.nodeSettings(nodeOrdinal))
|
||||
// client set up here
|
||||
.put("transport.profiles.client.port", randomClientPortRange)
|
||||
|
@ -70,6 +70,8 @@ public class SslMultiPortTests extends SecurityIntegTestCase {
|
|||
.put("transport.profiles.no_client_auth.bind_host", "localhost")
|
||||
.put("transport.profiles.no_client_auth.xpack.security.ssl.client_authentication", SSLClientAuth.NONE)
|
||||
.build();
|
||||
logger.info("node {} settings:\n{}", nodeOrdinal, settings);
|
||||
return settings;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -85,6 +87,7 @@ public class SslMultiPortTests extends SecurityIntegTestCase {
|
|||
.put("xpack.security.transport.ssl.enabled", true)
|
||||
.put(additionalSettings)
|
||||
.build();
|
||||
logger.info("transport client settings:\n{}", settings);
|
||||
return new TestXPackTransportClient(settings);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue