mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-23 21:38:15 +00:00
Pass distribution type through to docs tests (#37885)
This commit fixes the distribution flavor passed to the docs tests to be the same as the distribution. These two values are now in sync (either oss or default) for the docs tests.
This commit is contained in:
parent
a4020f4587
commit
980c13d85c
@ -45,8 +45,7 @@ public class DocsTestPlugin extends RestTestPlugin {
|
||||
'\\{version\\}': Version.fromString(VersionProperties.elasticsearch).toString(),
|
||||
'\\{version_qualified\\}': VersionProperties.elasticsearch,
|
||||
'\\{lucene_version\\}' : VersionProperties.lucene.replaceAll('-snapshot-\\w+$', ''),
|
||||
'\\{build_flavor\\}' :
|
||||
project.integTestCluster.distribution.startsWith('oss-') ? 'oss' : 'default',
|
||||
'\\{build_flavor\\}' : project.integTestCluster.distribution,
|
||||
]
|
||||
Task listSnippets = project.tasks.create('listSnippets', SnippetsTask)
|
||||
listSnippets.group 'Docs'
|
||||
|
Loading…
x
Reference in New Issue
Block a user