From d0852529203de67f073d48019504a686db83a1c3 Mon Sep 17 00:00:00 2001 From: sophiaxu0424 Date: Mon, 3 Jun 2024 16:09:54 -0400 Subject: [PATCH] Updated MockitoTest ReadMe (#5364) Signed-off-by: sophiaxu0424 --- functional/MockitoTests/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/functional/MockitoTests/README.md b/functional/MockitoTests/README.md index e997f1b9ac..1551464f5f 100644 --- a/functional/MockitoTests/README.md +++ b/functional/MockitoTests/README.md @@ -1,21 +1,21 @@ # Mockito Tests -There are two OpenJ9 user issues where a crash with Mockito is reported: +There are two OpenJ9 user issues where a crash with Mockito are reported: - Issue: https://github.com/eclipse-openj9/openj9/issues/18750 and - Issue: https://github.com/eclipse-openj9/openj9/issues/18781 - - Crash with Java 21 0.42, and set testing jdk version to 17+ as required for now + - Reported crashed with Java 21 0.42, and set testing jdk version to 17+ as required for now - - Segmentation error when using Mockito with Java 21 +Added MockitoMockTest test case for Java 11+ in functional MockitoTests folder. - - More Testcases would be added later as required -# This Mockito test cases will help identify the above crashes in our builds. -Test case added: test.java.MockitoMockTest - -# Next test case to be added -Test case: test.java.MockitoJunitTest(TBD) +# This MockitoMockTest test cases will help identify the above crashes in our builds. +Test case file added: test.java.MockitoMockTest which will working on JDK11+, it'a not avaiable (disabled) for JDK23+, nor zos platform. + - https://github.com/eclipse-openj9/openj9/issues/19331 + - https://github.com/eclipse-openj9/openj9/issues/19354 + For JDK8, it is having mockito compile problems with a different jdk version match from the Mockito side, refering to this issue. + - https://github.com/adoptium/infrastructure/issues/3043 # Dependencies Required: - mockito-core