mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 15:17:30 -04:00
Testclusters: convert left-overs from checkPart1 (#43370)
* Testclusters: convert left-overs from checkPart1
This commit is contained in:
parent
2a8cb74435
commit
05560c77bd
10 changed files with 64 additions and 48 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue