Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for determineMaxFailures (0.16 sec)

  1. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            doNotTrackState("All tests should re-run")
        }
    }
    
    fun Test.determineMaxRetries() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> 4
        else -> 2
    }
    
    fun Test.determineMaxFailures() = when {
        project.flakyTestStrategy == FlakyTestStrategy.ONLY -> Integer.MAX_VALUE
        else -> 10
    }
    
    fun configureTests() {
        normalization {
            runtimeClasspath {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
Back to top