[ https://issues.apache.org/jira/browse/LUCENE-9247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17047604#comment-17047604 ]
ASF subversion and git services commented on LUCENE-9247: --------------------------------------------------------- Commit cd984e2dc051d6b9415aa411fbd4332b25ddfbd8 in lucene-solr's branch refs/heads/master from Adrien Grand [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=cd984e2 ] LUCENE-9247: Add tests for `checkIntegrity`. (#1284) This adds a test to `BaseIndexFileFormatTestCase` that the combination of opening a reader and calling `checkIntegrity` on it reads all bytes of all files (including index headers and footers). This would help detect most cases when `checkIntegrity` is not implemented correctly. > Test that checkIntegrity doesn't miss any file > ---------------------------------------------- > > Key: LUCENE-9247 > URL: https://issues.apache.org/jira/browse/LUCENE-9247 > Project: Lucene - Core > Issue Type: Test > Reporter: Adrien Grand > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > An Elasticsearch test found out that CompressingStoredFieldsReader neither > checks the integrity of its index at open time nor when checkIntegrity is > called. We should have a test that detects this kind of bug. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org