Add test JVM options to configure (enable) Apache Geode to run on Java 17.
This commit is contained in:
@@ -42,8 +42,15 @@ dependencies {
|
||||
|
||||
}
|
||||
|
||||
def jvmArgList = [
|
||||
"--add-opens", "java.base/java.nio=ALL-UNNAMED",
|
||||
"--add-opens", "java.base/java.util=ALL-UNNAMED"
|
||||
]
|
||||
|
||||
test {
|
||||
|
||||
jvmArgs jvmArgList
|
||||
|
||||
maxHeapSize = project.hasProperty("test.jvm.heap.max-size")
|
||||
? project.getProperty("test.jvm.heap.max-size")
|
||||
: "512m"
|
||||
@@ -56,6 +63,8 @@ test {
|
||||
|
||||
integrationTest {
|
||||
|
||||
jvmArgs jvmArgList
|
||||
|
||||
maxHeapSize = project.hasProperty("test.jvm.heap.max-size")
|
||||
? project.getProperty("test.jvm.heap.max-size")
|
||||
: "2g"
|
||||
|
||||
Reference in New Issue
Block a user