Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions test/external-modules/apm-integration/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ tasks.named("test").configure {
enabled = false
}

tasks.named('javaRestTest').configure {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}

dependencies {
clusterModules project(':modules:apm')
implementation project(':libs:logging')
Expand Down
4 changes: 4 additions & 0 deletions test/external-modules/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ subprojects {
licenseFile = layout.settingsDirectory.file('licenses/AGPL-3.0+SSPL-1.0+ELASTIC-LICENSE-2.0.txt').asFile
noticeFile = layout.settingsDirectory.file('NOTICE.txt').asFile
}

tasks.named { it == "javaRestTest" || it == "yamlRestTest" }.configureEach {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}
}
4 changes: 0 additions & 4 deletions test/external-modules/delayed-aggs/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@

apply plugin: 'elasticsearch.legacy-yaml-rest-test'

tasks.named('yamlRestTest').configure {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}

esplugin {
description = 'A test module that allows to delay aggregations on shards with a configurable time'
classname ='org.elasticsearch.test.delayedshard.DelayedShardAggregationPlugin'
Expand Down
4 changes: 0 additions & 4 deletions test/external-modules/die-with-dignity/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,3 @@ GradleUtils.extendSourceSet(project, "main", "javaRestTest", tasks.named("javaRe
tasks.named("test").configure {
enabled = false
}

tasks.named('javaRestTest').configure {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}
5 changes: 0 additions & 5 deletions test/external-modules/error-query/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ apply plugin: 'elasticsearch.internal-java-rest-test'

tasks.named('javaRestTest') {
usesDefaultDistribution()
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}

tasks.named('yamlRestTest').configure {
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}

esplugin {
Expand Down
1 change: 0 additions & 1 deletion test/external-modules/esql-heap-attack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ esplugin {

tasks.named('javaRestTest') {
usesDefaultDistribution()
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}
1 change: 0 additions & 1 deletion test/external-modules/jvm-crash/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,4 @@ esplugin {

tasks.named('javaRestTest') {
usesDefaultDistribution()
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
}