Skip to content

Commit

Permalink
Updated MockitoTest ReadMe (#5364)
Browse files Browse the repository at this point in the history
Signed-off-by: sophiaxu0424 <[email protected]>
  • Loading branch information
sophiaxu0424 authored Jun 3, 2024
1 parent c713839 commit d085252
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions functional/MockitoTests/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit d085252

Please sign in to comment.