Since gradle retry plugin doesn't work correctly w...
# kotest
n
Since gradle retry plugin doesn't work correctly with Kotest I'm trying to achieve the same with Kotest extensions.
Copy code
object KotestRetryFlakyTestsExtension : TestCaseExtension {
    override suspend fun intercept(testCase: TestCase, execute: suspend (TestCase) -> TestResult): TestResult {
        execute(testCase)
        execute(testCase)
        execute(testCase)
        execute(testCase)
        return execute(testCase)
    }
}
Unfortunately when I run test which fail there is some leak and tests execution is not finishing and hanging forever: Any suggestions what I am doing wrong?
It may be an issue with IntelliJ plugin because running it via Gradle it doesn't hang.