stevelorddremio commented on PR #41237:
URL: https://github.com/apache/arrow/pull/41237#issuecomment-2118446948

   > > > It looks like my fix in @afterall for TestFlightSql and 
TestFlightSqlStateless was not successful.
   > > 
   > > 
   > > I see that the tests use the same filename and the tests try to delete 
the file. Can we see about using a 
[TemporaryFolder](https://junit.org/junit4/javadoc/4.12/org/junit/rules/TemporaryFolder.html)
 to manage creation/deletion of the file? This would let the tests use separate 
filenames and also help out with clean up.
   > 
   > Yes, I was thinking along the same lines. Thanks for the suggestion.
   
   I tried introducing a Path with @TempDir annotation. Whilst the directory 
creation was successful, the clean up after did not occur. I can try to improve 
this later but we have a test that passes.


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

Reply via email to