Move the named pipe no bootstrap test to a separate qa module (elastic/elasticsearch#769)

This matches the way tests that need to run without an Elasticsearch
bootstrap are run in core Elasticsearch.  This should make merging to
x-pack easier.

Note that the no bootstrap tests now run after the integration tests, but
this doesn't really matter.

Original commit: elastic/x-pack-elasticsearch@5547f457b6
This commit is contained in:
David Roberts 2017-01-23 12:08:35 +00:00 committed by GitHub
parent b3b8a7edc9
commit cd2332730b
3 changed files with 6 additions and 15 deletions

View File

@ -20,19 +20,6 @@ dependencies {
testCompile group: 'org.ini4j', name: 'ini4j', version:"${ini4jVersion}"
}
test {
exclude '**/*NoBootstrapTests.class'
}
task noBootstrapTest(type: Test,
dependsOn: test.dependsOn) {
classpath = project.test.classpath
testClassesDir = project.test.testClassesDir
include '**/*NoBootstrapTests.class'
}
check.dependsOn noBootstrapTest
noBootstrapTest.mustRunAfter test
integTest {
cluster {
//setting 'useNativeProcess', 'true'
@ -40,8 +27,6 @@ integTest {
}
}
integTest.mustRunAfter noBootstrapTest
bundlePlugin {
if (project.cppLocalDists) {
def localCppBundles = fileTree(dir: cppLocalDists).matching { include "ml-cpp-${project.version}-*.zip" }

View File

@ -0,0 +1,6 @@
apply plugin: 'elasticsearch.standalone-test'
dependencies {
testCompile project(path: ':prelert-legacy:elasticsearch', configuration: 'runtime')
}