mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-16 09:54:55 +00:00
This is all the tests disabled from https://github.com/elastic/x-plugins/issues/724 At least, they will be running in the build in some way. If we can fix gradle to add plugin metadata from lang-groovy to the test classpath, security manager can be re-enabled for these as well. But its also only 8 tests, maybe its easier to fix them? Original commit: elastic/x-pack-elasticsearch@a5c407b80f
21 lines
713 B
Groovy
21 lines
713 B
Groovy
|
|
/*
|
|
* Messy tests that depend on groovy directly. Fix these!
|
|
* https://github.com/elastic/x-plugins/issues/724
|
|
*/
|
|
|
|
apply plugin: 'elasticsearch.standalone-test'
|
|
|
|
dependencies {
|
|
testCompile project(path: ':x-plugins:license:plugin', configuration: 'runtime')
|
|
testCompile project(path: ':x-plugins:shield', configuration: 'runtime')
|
|
testCompile project(path: ':x-plugins:watcher', configuration: 'testArtifacts')
|
|
testCompile project(path: ':plugins:lang-groovy', configuration: 'runtime')
|
|
}
|
|
|
|
// TODO: remove this, its because gradle does not bring in plugin-metadata for lang-groovy
|
|
// into the test classpath: if it did, then things will work
|
|
test {
|
|
systemProperty 'tests.security.manager', 'false'
|
|
}
|