diff --git a/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy b/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy index 42448c51ec68d..d3cc4479cf6ab 100644 --- a/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy +++ b/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy @@ -3,4 +3,7 @@ grant codeBase "${codebase.junit-rt.jar}" { permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; }; - +grant codeBase "${codebase.idea_rt.jar}" { + // allows IntelliJ IDEA JUnit test runner to control number of test iterations + permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; +};