[TEST] Reduce the number of fields in MLT tests

This commit is contained in:
Simon Willnauer 2015-03-06 11:54:27 +01:00
parent 634c91a0ca
commit c5a6767a55
1 changed files with 1 additions and 2 deletions

View File

@ -671,8 +671,7 @@ public class MoreLikeThisActionTests extends ElasticsearchIntegrationTest {
public void testMoreLikeThisIgnoreLike() throws ExecutionException, InterruptedException, IOException { public void testMoreLikeThisIgnoreLike() throws ExecutionException, InterruptedException, IOException {
createIndex("test"); createIndex("test");
ensureGreen(); ensureGreen();
int numFields = randomIntBetween(5, 10);
int numFields = randomIntBetween(5, 35);
logger.info("Create a document that has all the fields."); logger.info("Create a document that has all the fields.");
XContentBuilder doc = jsonBuilder().startObject(); XContentBuilder doc = jsonBuilder().startObject();