iverase opened a new pull request #2331:
URL: https://github.com/apache/lucene-solr/pull/2331


   While trying to add a Base test class for Vector based on 
`BaseIndexFileFormatTestCase`, a bug surface on the Lucene90VectorWriter 
constructor. If there is an exception if the middle, it might happen that files 
are not properly closed and therefore a leak.
   
   Here is the proposal, move the current `TestVectorValues` to a 
`BaseVectorFormatTestCase` which extends `BaseIndexFileFormatTestCase`.
   
   Fix the constructor so it handle closing files on error properly.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to