Add test JVM options to configure (enable) Apache Geode to run on Java 17.

This commit is contained in:
John Blum
2021-11-17 14:46:46 -08:00
parent 0c808de97c
commit 71a49a066d

View File

@@ -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"