Skip to content

Commit

Permalink
fix tests failing with InaccessibleObjectException
Browse files Browse the repository at this point in the history
  • Loading branch information
Prudhviraj Karumanchi committed Feb 3, 2025
1 parent 6c3773d commit c43c011
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion evcache-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ repositories {
}

test {
useTestNG()
useTestNG()
jvmArgs += [
'--add-opens', 'java.base/java.lang=ALL-UNNAMED',
'--add-opens', 'java.base/java.lang.reflect=ALL-UNNAMED'
]
options.suites('src/test/java/test-suite.xml')
minHeapSize = '1024m'
maxHeapSize = '1536m'
Expand Down
4 changes: 4 additions & 0 deletions evcache-zipkin-tracing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ javadoc {

test {
useTestNG()
jvmArgs += [
'--add-opens', 'java.base/java.lang=ALL-UNNAMED',
'--add-opens', 'java.base/java.lang.reflect=ALL-UNNAMED'
]
minHeapSize = '1024m'
maxHeapSize = '1536m'
testLogging.displayGranularity = -1
Expand Down

0 comments on commit c43c011

Please sign in to comment.