File tree Expand file tree Collapse file tree 2 files changed +346
-9
lines changed
src/test/kotlin/org/opensearch/indexmanagement Expand file tree Collapse file tree 2 files changed +346
-9
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,7 @@ dependencies {
197197 implementation " org.apache.httpcomponents:httpcore:4.4.15"
198198
199199 testImplementation " org.opensearch.test:framework:${ opensearch_version} "
200+ testImplementation " org.opensearch.client:opensearch-rest-high-level-client:${ opensearch_version} "
200201 testImplementation " org.jetbrains.kotlin:kotlin-test:${ kotlin_version} "
201202 testImplementation " com.nhaarman.mockitokotlin2:mockito-kotlin:2.2.0"
202203 testImplementation " org.mockito:mockito-core:4.7.0"
@@ -271,6 +272,7 @@ def securityPluginFile = new Callable<RegularFile>() {
271272 }
272273 }
273274}
275+ // This flag indicates the existence of security plugin
274276def securityEnabled = System . getProperty(" security" , " false" ) == " true"
275277afterEvaluate {
276278 testClusters. integTest. nodes. each { node ->
@@ -726,11 +728,11 @@ run {
726728
727729compileKotlin {
728730 kotlinOptions. freeCompilerArgs = [' -Xjsr305=strict' ]
729- kotlinOptions. allWarningsAsErrors = true
731+ // kotlinOptions.allWarningsAsErrors = true
730732}
731733
732734compileTestKotlin {
733- kotlinOptions. allWarningsAsErrors = true
735+ // kotlinOptions.allWarningsAsErrors = true
734736}
735737
736738apply from : ' build-tools/pkgbuild.gradle'
You can’t perform that action at this time.
0 commit comments