Allow IDEA test runner to control number of test iterations (#41653)

Allows configuring the number of test iterations via IntelliJ's config dialog, instead of having to add it
manually via the tests.iters system property.
This commit is contained in:
Yannick Welsch 2019-05-08 13:57:01 +02:00
parent ba9d2ccc1f
commit 957046dad0
1 changed files with 6 additions and 1 deletions

View File

@ -89,6 +89,11 @@ grant codeBase "${codebase.httpasyncclient}" {
permission java.net.NetPermission "getProxySelector";
};
grant codeBase "${codebase.junit-rt.jar}" {
// allows IntelliJ IDEA JUnit test runner to control number of test iterations
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
grant codeBase "file:${gradle.dist.lib}/-" {
// gradle test worker code needs a slew of permissions, we give full access here since gradle isn't a production
// dependency and there's no point in exercising the security policy against it