You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jp...@apache.org on 2021/11/04 09:46:57 UTC

[lucene] branch main updated: Fix OOM during tests.

This is an automated email from the ASF dual-hosted git repository.

jpountz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/lucene.git


The following commit(s) were added to refs/heads/main by this push:
     new ae29a3b  Fix OOM during tests.
ae29a3b is described below

commit ae29a3b326478a300933bac285cdce3deeedb484
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Thu Nov 4 10:44:44 2021 +0100

    Fix OOM during tests.
---
 .../src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java    | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
index 6192e0e..57c3e02 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
@@ -36,6 +36,8 @@ import org.apache.lucene.store.Directory;
 import org.apache.lucene.util.LuceneTestCase;
 
 @HandleLimitFS.MaxOpenHandles(limit = HandleLimitFS.MaxOpenHandles.MAX_OPEN_FILES * 2)
+//Some of these tests are too intense for SimpleText
+@LuceneTestCase.SuppressCodecs("SimpleText")
 public class TestIndexWriterMergePolicy extends LuceneTestCase {
 
   // Test the normal case