[ 
https://issues.apache.org/jira/browse/LUCENE-9356?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17538160#comment-17538160
 ] 

ASF subversion and git services commented on LUCENE-9356:
---------------------------------------------------------

Commit 978eef5459c7683038ddcca4ec56e4baa63715d0 in lucene's branch 
refs/heads/branch_9_2 from Adrien Grand
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=978eef5459c ]

LUCENE-9356: Change test to detect mismatched checksums instead of byte flips. 
(#876)

This makes the test more robust and gives a good sense of whether file formats
are implementing `checkIntegrity` correctly.

> Add tests for corruptions caused by byte flips
> ----------------------------------------------
>
>                 Key: LUCENE-9356
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9356
>             Project: Lucene - Core
>          Issue Type: Test
>            Reporter: Adrien Grand
>            Priority: Minor
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> We already have tests that file truncation and modification of the index 
> headers are caught correctly. I'd like to add another test that flipping a 
> byte in a way that modifies the checksum of the file is always caught 
> gracefully by Lucene.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to