diff --git a/build.gradle b/build.gradle index 2bd2d4c0b0..ffbd38fd5f 100644 --- a/build.gradle +++ b/build.gradle @@ -285,7 +285,11 @@ task integrationTest(type: Test) { systemProperty "java.util.logging.manager", "org.apache.logging.log4j.jul.LogManager" testClassesDirs = sourceSets.integrationTest.output.classesDirs classpath = sourceSets.integrationTest.runtimeClasspath - + retry { + failOnPassedAfterRetry = false + maxRetries = 2 + maxFailures = 10 + } //run the integrationTest task after the test task shouldRunAfter test }