Skip to content

Commit

Permalink
Fixes process bootstrap failure in IntegTests (opensearch-project#425)
Browse files Browse the repository at this point in the history
Signed-off-by: Himanshu Setia <setiah@amazon.com>
setiah authored Mar 20, 2021
1 parent 672d975 commit 64caa36
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -35,6 +35,10 @@ class DocsTestPlugin implements Plugin<Project> {
project.pluginManager.apply('elasticsearch.standalone-rest-test')
project.pluginManager.apply('elasticsearch.rest-test')

String distribution = System.getProperty('tests.distribution', 'oss')
// The distribution can be configured with -Dtests.distribution on the command line
project.testClusters.integTest.testDistribution = distribution.toUpperCase()

project.testClusters.integTest.nameCustomization = { it.replace("integTest", "node") }
// Docs are published separately so no need to assemble
project.tasks.assemble.enabled = false

0 comments on commit 64caa36

Please sign in to comment.