[TEST] add mapping to MoreLikeThisActionTests to make sure doc mapper exists on all shards / nodes
This commit is contained in:
parent
7f49d027b9
commit
965b85a663
|
@ -69,7 +69,7 @@ public class MoreLikeThisActionTests extends ElasticsearchIntegrationTest {
|
|||
@Test
|
||||
public void testSimpleMoreLikeOnLongField() throws Exception {
|
||||
logger.info("Creating index test");
|
||||
createIndex("test");
|
||||
assertAcked(prepareCreate("test").addMapping("type1", "some_long", "type=long"));
|
||||
logger.info("Running Cluster Health");
|
||||
assertThat(ensureGreen(), equalTo(ClusterHealthStatus.GREEN));
|
||||
|
||||
|
|
Loading…
Reference in New Issue