mirror of https://github.com/apache/lucene.git
LUCENE-9247: Exclude `write.lock` from files whose integrity is expected to be verified.
This commit is contained in:
parent
30944d3520
commit
c929b65c81
|
@ -896,6 +896,7 @@ abstract class BaseIndexFileFormatTestCase extends LuceneTestCase {
|
|||
|
||||
Set<String> unreadFiles = new HashSet<>(Arrays.asList(readBytesWrapperDir.listAll()));
|
||||
unreadFiles.removeAll(readBytesMap.keySet());
|
||||
unreadFiles.remove(IndexWriter.WRITE_LOCK_NAME);
|
||||
assertTrue("Some files have not been open: " + unreadFiles, unreadFiles.isEmpty());
|
||||
|
||||
List<String> messages = new ArrayList<>();
|
||||
|
|
Loading…
Reference in New Issue