diff --git a/core/control-plane/control-plane-aggregate-services/build.gradle.kts b/core/control-plane/control-plane-aggregate-services/build.gradle.kts index 0954257b3d0..77a3deef88b 100644 --- a/core/control-plane/control-plane-aggregate-services/build.gradle.kts +++ b/core/control-plane/control-plane-aggregate-services/build.gradle.kts @@ -14,6 +14,7 @@ plugins { `java-library` + id("org.gradle.test-retry") version "1.5.9" } dependencies { @@ -31,4 +32,13 @@ dependencies { testImplementation(libs.awaitility) } +tasks { + withType { + retry { + maxRetries.set(3) + maxFailures.set(6) + failOnPassedAfterRetry.set(true) + } + } +}