Test: crank up logging on LicensingTests
We've seen some failures of the LicensingTests that we don't have enough information to debug: https://internal-ci.elastic.co/job/elastic+x-pack-elasticsearch+master+periodic/2220/consoleFull So this cranks up the logging of the bits we expect to see the failures in. Original commit: elastic/x-pack-elasticsearch@d28c1051a4
This commit is contained in:
parent
67ddbf1fac
commit
a27ded98c6
|
@ -43,6 +43,7 @@ import org.elasticsearch.plugins.Plugin;
|
||||||
import org.elasticsearch.rest.RestStatus;
|
import org.elasticsearch.rest.RestStatus;
|
||||||
import org.elasticsearch.test.SecurityIntegTestCase;
|
import org.elasticsearch.test.SecurityIntegTestCase;
|
||||||
import org.elasticsearch.test.SecuritySettingsSource;
|
import org.elasticsearch.test.SecuritySettingsSource;
|
||||||
|
import org.elasticsearch.test.junit.annotations.TestLogging;
|
||||||
import org.elasticsearch.transport.Netty4Plugin;
|
import org.elasticsearch.transport.Netty4Plugin;
|
||||||
import org.elasticsearch.transport.Transport;
|
import org.elasticsearch.transport.Transport;
|
||||||
import org.elasticsearch.xpack.TestXPackTransportClient;
|
import org.elasticsearch.xpack.TestXPackTransportClient;
|
||||||
|
@ -73,6 +74,7 @@ import static org.hamcrest.Matchers.hasItem;
|
||||||
import static org.hamcrest.Matchers.is;
|
import static org.hamcrest.Matchers.is;
|
||||||
import static org.hamcrest.Matchers.notNullValue;
|
import static org.hamcrest.Matchers.notNullValue;
|
||||||
|
|
||||||
|
@TestLogging("org.elasticsearch.cluster.service:TRACE,org.elasticsearch.discovery.zen:TRACE")
|
||||||
public class LicensingTests extends SecurityIntegTestCase {
|
public class LicensingTests extends SecurityIntegTestCase {
|
||||||
public static final String ROLES =
|
public static final String ROLES =
|
||||||
SecuritySettingsSource.DEFAULT_ROLE + ":\n" +
|
SecuritySettingsSource.DEFAULT_ROLE + ":\n" +
|
||||||
|
|
Loading…
Reference in New Issue