From 285b09ef8d06e23f0c311390562294bd0cc6e539 Mon Sep 17 00:00:00 2001 From: Sam Xiao Date: Thu, 26 Jun 2025 00:01:39 +0800 Subject: [PATCH] Remove geoip multi-project tests from release build (#129976) --- modules/ingest-geoip/qa/multi-project/build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ingest-geoip/qa/multi-project/build.gradle b/modules/ingest-geoip/qa/multi-project/build.gradle index c67fa94e2763..bcfe4f22599a 100644 --- a/modules/ingest-geoip/qa/multi-project/build.gradle +++ b/modules/ingest-geoip/qa/multi-project/build.gradle @@ -22,3 +22,8 @@ dependencies { tasks.withType(Test).configureEach { it.systemProperty "tests.multi_project.enabled", true } + +// Exclude multi-project tests from release build +tasks.named { it == "javaRestTest" || it == "yamlRestTest" }.configureEach { + it.onlyIf("snapshot build") { buildParams.snapshotBuild } +}