[TEST] Reduce the number of fields in MLT tests
This commit is contained in:
parent
634c91a0ca
commit
c5a6767a55
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue