From b2827a09a955239aad3e8504cff913b765db68db Mon Sep 17 00:00:00 2001 From: Lee Hinman Date: Fri, 29 Aug 2014 10:11:50 +0200 Subject: [PATCH] [TEST] add AwaitsFix for testTranslogChecksums since it may cause OOME if the size is corrupted --- .../index/translog/AbstractSimpleTranslogTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/org/elasticsearch/index/translog/AbstractSimpleTranslogTests.java b/src/test/java/org/elasticsearch/index/translog/AbstractSimpleTranslogTests.java index 521c7cc5f0c..71ad0c6abdb 100644 --- a/src/test/java/org/elasticsearch/index/translog/AbstractSimpleTranslogTests.java +++ b/src/test/java/org/elasticsearch/index/translog/AbstractSimpleTranslogTests.java @@ -20,6 +20,7 @@ package org.elasticsearch.index.translog; import org.apache.lucene.index.Term; +import org.apache.lucene.util.LuceneTestCase; import org.elasticsearch.ElasticsearchException; import org.elasticsearch.common.bytes.BytesArray; import org.elasticsearch.common.io.stream.BytesStreamInput; @@ -413,6 +414,7 @@ public abstract class AbstractSimpleTranslogTests extends ElasticsearchTestCase } @Test + @LuceneTestCase.AwaitsFix(bugUrl = "corrupting size can cause OOME") public void testTranslogChecksums() throws Exception { List locations = newArrayList();