From e704db9a0f062a62e7b8825daea061fbedf924c2 Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Tue, 25 Oct 2022 20:04:14 -0500 Subject: [PATCH] Enable retries on integration tests Signed-off-by: Peter Nied --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }