Skip to content

Commit 285b09e

Browse files
authored
Remove geoip multi-project tests from release build (#129976)
1 parent c94c021 commit 285b09e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/ingest-geoip/qa/multi-project/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,8 @@ dependencies {
2222
tasks.withType(Test).configureEach {
2323
it.systemProperty "tests.multi_project.enabled", true
2424
}
25+
26+
// Exclude multi-project tests from release build
27+
tasks.named { it == "javaRestTest" || it == "yamlRestTest" }.configureEach {
28+
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
29+
}

0 commit comments

Comments
 (0)