mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 13:08:29 +00:00
3e24ea3ed2
This commit reenables running ITs in xpack by adding an internalClusterTest to xpack modules that contain ESIntegTestCase tests. The new task allows us to run these independently of rest integ tests, which are disabled for xpack modules because installing the bundled plugins directly is not quite the same as installing via the meta plugin. Some tests (ML) are moved to their own qa module to accommodate the need for a real cluster. A couple tests (monitoring and upgrade) have been marked as AwaitsFix. Commits that have been folded into this commit: * Move ML IT tests to qa/ml-native-tests * Add internalClusterTest task and disable rest integ tests for xpack modules. Also tweak ML tests and get upgrade tests working * Adding the keystore and security back to the ml native tests * Fixing native integ test * Fix last ML test, add awaits fix to monitoring and upgrade tests * cleanup PR * fix checkstyle Original commit: elastic/x-pack-elasticsearch@3c0ed6fd3b
37 lines
1.1 KiB
Groovy
37 lines
1.1 KiB
Groovy
evaluationDependsOn(':x-pack-elasticsearch:plugin:core')
|
|
|
|
apply plugin: 'elasticsearch.esplugin'
|
|
esplugin {
|
|
name 'x-pack-graph'
|
|
description 'Elasticsearch Expanded Pack Plugin - Graph'
|
|
classname 'org.elasticsearch.xpack.graph.Graph'
|
|
hasNativeController false
|
|
requiresKeystore true
|
|
extendedPlugins = ['x-pack-core']
|
|
licenseFile project(':x-pack-elasticsearch').file('LICENSE.txt')
|
|
noticeFile project(':x-pack-elasticsearch').file('NOTICE.txt')
|
|
}
|
|
archivesBaseName = 'x-pack-graph'
|
|
|
|
licenseHeaders.enabled = false
|
|
|
|
dependencies {
|
|
provided "org.elasticsearch:elasticsearch:${version}"
|
|
|
|
provided "org.elasticsearch.plugin:x-pack-core:${version}"
|
|
testCompile project(path: ':x-pack-elasticsearch:plugin:core', configuration: 'testArtifacts')
|
|
}
|
|
|
|
dependencyLicenses {
|
|
ignoreSha 'x-pack-core'
|
|
}
|
|
|
|
run {
|
|
plugin ':x-pack-elasticsearch:plugin:core'
|
|
}
|
|
|
|
// xpack modules are installed in real clusters as the meta plugin, so
|
|
// installing them as individual plugins for integ tests doesn't make sense,
|
|
// so we disable integ tests
|
|
integTest.enabled = false
|