From 60c2dd6e228681fa1634bf123e6fc6047b2aa393 Mon Sep 17 00:00:00 2001 From: mohit10011999 Date: Thu, 6 Feb 2025 14:37:01 +0530 Subject: [PATCH] Jacoco agent failures resolution (#1492) Signed-off-by: Mohit Kumar Co-authored-by: Mohit Kumar --- build.gradle | 2 +- .../org/opensearch/replication/MultiClusterRestTestCase.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bc84dfd42..af17b7a96 100644 --- a/build.gradle +++ b/build.gradle @@ -96,7 +96,7 @@ allprojects { version = "${opensearch_build}" // Have resolve the jacoco version here to work with kotlin // Ref: https://github.com/jacoco/jacoco/issues/1187 - jacoco.toolVersion = "0.8.7" + jacoco.toolVersion = "0.8.12" } diff --git a/src/test/kotlin/org/opensearch/replication/MultiClusterRestTestCase.kt b/src/test/kotlin/org/opensearch/replication/MultiClusterRestTestCase.kt index c2d93091e..90bbe4f49 100644 --- a/src/test/kotlin/org/opensearch/replication/MultiClusterRestTestCase.kt +++ b/src/test/kotlin/org/opensearch/replication/MultiClusterRestTestCase.kt @@ -96,7 +96,7 @@ abstract class MultiClusterRestTestCase : OpenSearchTestCase() { } }) - val sslContext = SSLContext.getInstance("SSL") + val sslContext = SSLContext.getInstance("TLS") sslContext.init(null, trustCerts, java.security.SecureRandom()) val builder = RestClient.builder(*httpHosts.toTypedArray()).setHttpClientConfigCallback { httpAsyncClientBuilder ->