exceptionfactory commented on pull request #5794: URL: https://github.com/apache/nifi/pull/5794#issuecomment-1051098491
> Removing the @AfterEach cleanup method made that go away. The odd thing is that with the @AfterEach, the first test would pass and the rest would fail. Thanks for the updates @MikeThomsen. I noticed multiple calls to `FileUtils.deleteFile()`, which should not be necessary. The order of operations is important, first calling `getConnection()` with `shutdown=true`, then calling `FileUtils.deleteFile(temporaryDirectory, true)` as in `DBCPServiceTest.shutdown()` should work. -- 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]
