[TEST] add AwaitsFix for testTranslogChecksums since it may cause OOME

if the size is corrupted
This commit is contained in:
Lee Hinman 2014-08-29 10:11:50 +02:00
parent 0fd3ef6df0
commit b2827a09a9
1 changed files with 2 additions and 0 deletions

View File

@ -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<Translog.Location> locations = newArrayList();