Adding logger to catch test failure. See elastic/elasticsearch#1769

Original commit: elastic/x-pack-elasticsearch@ab47c05739
This commit is contained in:
Chris Earle 2016-03-29 17:59:48 -04:00
parent 9b7feb25ca
commit 793a6138a3
1 changed files with 2 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import org.elasticsearch.common.transport.InetSocketTransportAddress;
import org.elasticsearch.plugins.Plugin; import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.shield.transport.netty.ShieldNettyTransport; import org.elasticsearch.shield.transport.netty.ShieldNettyTransport;
import org.elasticsearch.test.ESIntegTestCase; import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.xpack.XPackPlugin; import org.elasticsearch.xpack.XPackPlugin;
import org.junit.After; import org.junit.After;
import org.junit.AfterClass; import org.junit.AfterClass;
@ -41,6 +42,7 @@ import static org.hamcrest.Matchers.greaterThan;
* then uses a transport client to check that the data have been correctly received and * then uses a transport client to check that the data have been correctly received and
* indexed in the cluster. * indexed in the cluster.
*/ */
@TestLogging("org.elasticsearch.action.admin.cluster.settings:DEBUG")
public class SmokeTestMonitoringWithShieldIT extends ESIntegTestCase { public class SmokeTestMonitoringWithShieldIT extends ESIntegTestCase {
private static final String USER = "test_user"; private static final String USER = "test_user";