From 37e398d2015ad89256154deac069c6fb77fbbf4a Mon Sep 17 00:00:00 2001 From: Kunal Kotwani Date: Tue, 29 Mar 2022 12:21:57 -0700 Subject: [PATCH] Remove CI environment check for test retries Signed-off-by: Kunal Kotwani --- build.gradle | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/build.gradle b/build.gradle index b1720cb5076e6..f28b4cb9d243a 100644 --- a/build.gradle +++ b/build.gradle @@ -388,16 +388,13 @@ gradle.projectsEvaluated { } // test retry configuration -boolean isCiServer = System.getenv().containsKey("CI") subprojects { apply plugin: "org.gradle.test-retry" - if (isCiServer) { - tasks.withType(Test).configureEach { - retry { - failOnPassedAfterRetry = false - maxRetries = 1 - maxFailures = 10 - } + tasks.withType(Test).configureEach { + retry { + failOnPassedAfterRetry = false + maxRetries = 1 + maxFailures = 10 } } }