From b2d47ed7772f9f72b4db8d834573076dcb7bf986 Mon Sep 17 00:00:00 2001 From: Mohammed Daudali Date: Thu, 19 Sep 2024 16:59:42 +0100 Subject: [PATCH] fix: run all tests rather than stopping on first failure locally (#7298) --- changelog/@unreleased/pr-7298.v2.yml | 5 +++++ gradle/shared.gradle | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/@unreleased/pr-7298.v2.yml diff --git a/changelog/@unreleased/pr-7298.v2.yml b/changelog/@unreleased/pr-7298.v2.yml new file mode 100644 index 00000000000..7f155651e7f --- /dev/null +++ b/changelog/@unreleased/pr-7298.v2.yml @@ -0,0 +1,5 @@ +type: fix +fix: + description: Run all tests rather than stopping on first failure locally + links: + - https://github.com/palantir/atlasdb/pull/7298 diff --git a/gradle/shared.gradle b/gradle/shared.gradle index f10ec053b40..5aefb883070 100644 --- a/gradle/shared.gradle +++ b/gradle/shared.gradle @@ -91,7 +91,7 @@ afterEvaluate { tasks.withType(Test) { enableAssertions = true - failFast = true + failFast = System.getenv().containsKey('CI') } ext.atlasdb_shaded = 'com.palantir.atlasdb.shaded.'