Skip to content

Commit 1756426

Browse files
committed
Ensure the set of gems tested at unit level matches packages
This commit adds the installDefaultGems task to the unit test tasks. This ensures that the gem env tested at the unit level matches the deduplicated one at the integration/acceptance level. Takes over elastic#18330
1 parent 874851d commit 1756426

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,7 @@ project(":logstash-core") {
418418
tasks.getByPath(":logstash-core:" + tsk).configure {
419419
dependsOn copyPluginTestAlias
420420
dependsOn installDevelopmentGems
421+
dependsOn installDefaultGems
421422
}
422423
}
423424
}
@@ -1001,6 +1002,7 @@ if (System.getenv('OSS') != 'true') {
10011002
["rubyTests", "rubyIntegrationTests", "test"].each { tsk ->
10021003
tasks.getByPath(":logstash-xpack:" + tsk).configure {
10031004
dependsOn installDevelopmentGems
1005+
dependsOn installDefaultGems
10041006
}
10051007
}
10061008
}

0 commit comments

Comments
 (0)