You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2022/02/25 18:36:27 UTC
[GitHub] [nifi] exceptionfactory commented on pull request #5794: NIFI-9134-9142 Multiple JUnit 5 refactorings (Metrics -> Ranger and a few others)
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org