mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
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:
parent
b3b8a7edc9
commit
cd2332730b
@ -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" }
|
||||
|
6
qa/no-bootstrap-tests/build.gradle
Normal file
6
qa/no-bootstrap-tests/build.gradle
Normal file
@ -0,0 +1,6 @@
|
||||
apply plugin: 'elasticsearch.standalone-test'
|
||||
|
||||
dependencies {
|
||||
testCompile project(path: ':prelert-legacy:elasticsearch', configuration: 'runtime')
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user