mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-27 10:28:28 +00:00
[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)
|
||||
.setSettings(randomSettingsBuilder);
|
||||
if (mappings != null) {
|
||||
logger.info("test using _default_ mappings: [{}]", mappings.bytesStream().bytes().toUtf8());
|
||||
putTemplate.addMapping("_default_", mappings);
|
||||
}
|
||||
assertAcked(putTemplate.execute().actionGet());
|
||||
|
Loading…
x
Reference in New Issue
Block a user