mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-03 09:29:11 +00:00
[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 {
|
||||
createIndex("test");
|
||||
ensureGreen();
|
||||
|
||||
int numFields = randomIntBetween(5, 35);
|
||||
int numFields = randomIntBetween(5, 10);
|
||||
|
||||
logger.info("Create a document that has all the fields.");
|
||||
XContentBuilder doc = jsonBuilder().startObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user