|
@@ -97,6 +97,7 @@ public class ElasticsearchTestBasePlugin implements Plugin<Project> {
|
|
|
"-Xmx" + System.getProperty("tests.heap.size", "512m"),
|
|
|
"-Xms" + System.getProperty("tests.heap.size", "512m"),
|
|
|
"--illegal-access=deny",
|
|
|
+ "-Djava.security.manager=allow",
|
|
|
// TODO: only open these for mockito when it is modularized
|
|
|
"--add-opens=java.base/java.security.cert=ALL-UNNAMED",
|
|
|
"--add-opens=java.base/java.nio.channels=ALL-UNNAMED",
|