iverase opened a new pull request, #14394:
URL: https://github.com/apache/lucene/pull/14394
This test is failing after a recent change in brach 10x:
```
./gradlew test --tests
TestLucene102HnswBinaryQuantizedVectorsFormat.testRandomExceptions
-Dtests.seed=22B041A383A5A23E -Dtests.multiplier=3 -Dtests.locale=fr-CG
-Dtests.timezone=Asia/Barnaul -Dtests.asserts=true -Dtests.file.encoding=UTF-8
```
With error:
```
> java.lang.RuntimeException: MockDirectoryWrapper: cannot close:
there are still 1 open files:
{_2u_Lucene102HnswBinaryQuantizedVectorsFormat_0.veb_temp_5k.tmp=1}
> at
__randomizedtesting.SeedInfo.seed([22B041A383A5A23E:4A9F2F671DABFB9E]:0)
> at
org.apache.lucene.tests.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:888)
> at
org.apache.lucene.tests.index.BaseIndexFileFormatTestCase.testRandomExceptions(BaseIndexFileFormatTestCase.java:737)
> at
java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
> at java.base/java.lang.reflect.Method.invoke(Method.java:580)
```
This commit should make sure we are handling properly those temp files.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]