[TESTS] Log what the _default_ template is in ElasticsearchIntegrationTest
This commit is contained in:
parent
caa5af4bf6
commit
d32f1a8ad0
|
@ -411,6 +411,7 @@ public abstract class ElasticsearchIntegrationTest extends ElasticsearchTestCase
|
||||||
.setOrder(0)
|
.setOrder(0)
|
||||||
.setSettings(randomSettingsBuilder);
|
.setSettings(randomSettingsBuilder);
|
||||||
if (mappings != null) {
|
if (mappings != null) {
|
||||||
|
logger.info("test using _default_ mappings: [{}]", mappings.bytesStream().bytes().toUtf8());
|
||||||
putTemplate.addMapping("_default_", mappings);
|
putTemplate.addMapping("_default_", mappings);
|
||||||
}
|
}
|
||||||
assertAcked(putTemplate.execute().actionGet());
|
assertAcked(putTemplate.execute().actionGet());
|
||||||
|
|
Loading…
Reference in New Issue