mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Co-authored-by: Jake Landis <jake.landis@elastic.co>
This commit is contained in:
parent
d02a481f1f
commit
ce98a62427
44 changed files with 160 additions and 177 deletions
|
@ -6,8 +6,7 @@
|
|||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
|
||||
import org.elasticsearch.gradle.internal.MavenFilteringHack
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
import org.elasticsearch.gradle.internal.info.BuildParams
|
||||
|
||||
apply plugin: 'elasticsearch.internal-testclusters'
|
||||
|
@ -38,5 +37,5 @@ ext.expansions = [
|
|||
tasks.named("processTestResources").configure {
|
||||
assert pluginPaths.size() > 0
|
||||
inputs.properties(expansions)
|
||||
MavenFilteringHack.filter(it, expansions)
|
||||
filter("tokens" : expansions.collectEntries {k, v -> [k, v.toString()]} /* must be a map of strings */, ReplaceTokens.class)
|
||||
}
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
- do:
|
||||
nodes.info: {}
|
||||
|
||||
- length: { nodes.$master.plugins: ${expected.plugins.count} }
|
||||
- length: { nodes.$master.plugins: @expected.plugins.count@ }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue