gradle / test-retry-gradle-plugin

Gradle plugin to retry tests that have failed to mitigate test flakiness.
Apache License 2.0
228 stars 51 forks source link

`Unexpected test executer: KotlinJvmTest` #140

Closed JavierSegoviaCordoba closed 2 years ago

JavierSegoviaCordoba commented 2 years ago

In a Kotlin Multiplatform project, I have tried to use this plugin and I am getting this issue, not sure if I should report this here or in the Kotlin repo.

> Unexpected test executer: org.jetbrains.kotlin.gradle.targets.jvm.tasks.KotlinJvmTest$Executor@5fbdf032

The config:

tasks.withType<Test>().configureEach {
    retry {
        maxRetries.set(5)
        maxFailures.set(100)
        failOnPassedAfterRetry.set(false)
    }
    maxParallelForks = 1
}

Curiously, all tests are passing and the build fail comes after that.

JavierSegoviaCordoba commented 2 years ago

Sorry, looks like it is already reported: https://github.com/gradle/test-retry-gradle-plugin/issues/116