Skip to content

Commit

Permalink
[TEST] add AwaitsFix for testTranslogChecksums since it may cause OOME
Browse files Browse the repository at this point in the history
if the size is corrupted
  • Loading branch information
dakrone committed Aug 29, 2014
1 parent 0fd3ef6 commit b2827a0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -413,6 +414,7 @@ public void run() {
}

@Test
@LuceneTestCase.AwaitsFix(bugUrl = "corrupting size can cause OOME")
public void testTranslogChecksums() throws Exception {
List<Translog.Location> locations = newArrayList();

Expand Down

0 comments on commit b2827a0

Please sign in to comment.