Blockhound turn off and on for junit platform
niji2507 opened this issue · comments
How to turn on and turn off block hound when integrated with junits?
Hi @niji2507 ,
if you are using gradle, you can try to do the same as what is done for the BlockHound tests, where each junit tests are forked using a new process, this will I think do what you are looking for.
See in the test build.gradle, where forkEvery=1
and maxParallelForks=1
are used.
let me know.
thanks.
Hi @niji2507 ,
Since forking each junit test should resolve the issue (like using forkEvery=1 and maxParallelForks=1 in gradle for example), I'm then closing this issue.
Feel free to reopen if needed.
Thanks.