Skip to content

Commit 1b8b014

Browse files
Mocito upgrade to support JDK 23 (opensearch-project#3547)
Signed-off-by: rithin-pullela-aws <rithinp@amazon.com>
1 parent ff17bfa commit 1b8b014

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

client/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ dependencies {
1818
implementation project(path: ":${rootProject.name}-common", configuration: 'shadow')
1919
compileOnly group: 'org.opensearch', name: 'opensearch', version: "${opensearch_version}"
2020
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
21-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.7.0'
21+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.15.2'
2222

2323
}
2424

common/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
2121
compileOnly "org.opensearch.client:opensearch-rest-client:${opensearch_version}"
2222
compileOnly "org.opensearch:common-utils:${common_utils_version}"
23-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.7.0'
23+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.15.2'
2424
testImplementation "org.opensearch.test:framework:${opensearch_version}"
2525

2626
compileOnly group: 'org.apache.commons', name: 'commons-text', version: '1.10.0'

memory/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ dependencies {
3535
exclude module : 'hamcrest'
3636
exclude module : 'hamcrest-core'
3737
}
38-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.7.0'
38+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.15.2'
3939
testImplementation "org.opensearch.test:framework:${opensearch_version}"
4040
testImplementation "org.opensearch.client:opensearch-rest-client:${opensearch_version}"
4141
testImplementation group: 'com.google.code.gson', name: 'gson', version: '2.11.0'

ml-algorithms/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040
implementation group: 'io.protostuff', name: 'protostuff-api', version: '1.8.0'
4141
implementation group: 'io.protostuff', name: 'protostuff-collectionschema', version: '1.8.0'
4242
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
43-
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.7.0'
43+
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.15.2'
4444
implementation (group: 'com.google.guava', name: 'guava', version: '32.1.3-jre') {
4545
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
4646
}

0 commit comments

Comments
 (0)