mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-18 02:44:49 +00:00
[TEST] add AwaitsFix for testTranslogChecksums since it may cause OOME
if the size is corrupted
This commit is contained in:
parent
0fd3ef6df0
commit
b2827a09a9
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user