Skip to content

Commit 65a5281

Browse files
committed
Mute CorruptedFileIT in CCR
This test suite fails due to Lucene#getExactNumDocs. Relates #30228
1 parent fb48b02 commit 65a5281

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/src/test/java/org/elasticsearch/index/store/CorruptedFileIT.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import org.apache.lucene.index.CheckIndex;
2424
import org.apache.lucene.index.IndexFileNames;
2525
import org.apache.lucene.util.BytesRef;
26+
import org.apache.lucene.util.LuceneTestCase;
2627
import org.elasticsearch.action.admin.cluster.health.ClusterHealthResponse;
2728
import org.elasticsearch.action.admin.cluster.node.stats.NodeStats;
2829
import org.elasticsearch.action.admin.cluster.node.stats.NodesStatsResponse;
@@ -68,7 +69,6 @@
6869
import org.elasticsearch.test.ESIntegTestCase;
6970
import org.elasticsearch.test.InternalSettingsPlugin;
7071
import org.elasticsearch.test.MockIndexEventListener;
71-
import org.elasticsearch.test.junit.annotations.TestLogging;
7272
import org.elasticsearch.test.store.MockFSIndexStore;
7373
import org.elasticsearch.test.transport.MockTransportService;
7474
import org.elasticsearch.transport.TransportRequest;
@@ -108,6 +108,7 @@
108108
import static org.hamcrest.Matchers.notNullValue;
109109

110110
@ESIntegTestCase.ClusterScope(scope = ESIntegTestCase.Scope.SUITE)
111+
@LuceneTestCase.AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/pull/30228") // What if DV is corrupted?
111112
public class CorruptedFileIT extends ESIntegTestCase {
112113

113114
@Override

0 commit comments

Comments
 (0)