Testclusters: convert left-overs from checkPart1 (#43370)

* Testclusters: convert left-overs from checkPart1
This commit is contained in:
Alpar Torok 2019-06-25 18:46:52 +03:00 committed by GitHub
parent 2a8cb74435
commit 05560c77bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 64 additions and 48 deletions

View file

@ -17,6 +17,7 @@
* under the License.
*/
apply plugin: 'elasticsearch.testclusters'
apply plugin: 'elasticsearch.standalone-rest-test'
apply plugin: 'elasticsearch.rest-test'
@ -24,12 +25,18 @@ integTest {
includePackaged = true
}
integTestCluster {
numNodes = 2
File repo = file("$buildDir/testclusters/repo")
testClusters.integTest {
numberOfNodes = 2
setting 'path.repo', repo.absolutePath
}
integTestRunner {
if ('default'.equals(integTestCluster.distribution)) {
integTest.runner {
doFirst {
project.delete(repo)
repo.mkdirs()
}
if ('default'.equalsIgnoreCase(System.getProperty('tests.distribution', 'oss'))) {
systemProperty 'tests.rest.blacklist', [
'cat.templates/10_basic/No templates',
'cat.templates/10_basic/Sort templates',