Browse Source

Test: increase search logging for LicensingTests

This commit increases the logging level around search to aid in
debugging failures in LicensingTests#testSecurityActionsByLicenseType
where we are seeing all shards failed error while trying to search the
security index.

See #30301
jaymode 7 years ago
parent
commit
d912fa4357

+ 2 - 1
x-pack/plugin/security/src/test/java/org/elasticsearch/license/LicensingTests.java

@@ -53,7 +53,8 @@ import static org.hamcrest.Matchers.hasItem;
 import static org.hamcrest.Matchers.is;
 import static org.hamcrest.Matchers.notNullValue;
 
-@TestLogging("org.elasticsearch.cluster.service:TRACE,org.elasticsearch.discovery.zen:TRACE")
+@TestLogging("org.elasticsearch.cluster.service:TRACE,org.elasticsearch.discovery.zen:TRACE,org.elasticsearch.action.search:TRACE," +
+    "org.elasticsearch.search:TRACE")
 public class LicensingTests extends SecurityIntegTestCase {
     public static final String ROLES =
             SecuritySettingsSource.TEST_ROLE + ":\n" +