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:47:45 UTC

[lucene-solr] branch branch_8_11 updated: Fix OOM during tests.

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

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


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

commit a163507d61ec18eb2ae71808fca247e7507173eb
Author: Adrien Grand <jp...@gmail.com>
AuthorDate: Thu Nov 4 10:45:51 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 241f21f..a4c3deb 100644
--- a/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
+++ b/lucene/core/src/test/org/apache/lucene/index/TestIndexWriterMergePolicy.java
@@ -37,6 +37,8 @@ import org.apache.lucene.store.Directory;
 
 import org.apache.lucene.util.LuceneTestCase;
 
+// Some of these tests are too intense for SimpleText
+@LuceneTestCase.SuppressCodecs("SimpleText")
 public class TestIndexWriterMergePolicy extends LuceneTestCase {