Upgrade to JUnit 4.12 (#23877)
* Upgrade to JUnit 4.12 * Add permission to junit 4.12 and remove junit4-ant specific permission
This commit is contained in:
parent
40ff169c54
commit
186b401fd8
|
@ -14,7 +14,7 @@ jna = 4.4.0
|
|||
|
||||
# test dependencies
|
||||
randomizedrunner = 2.5.0
|
||||
junit = 4.11
|
||||
junit = 4.12
|
||||
httpclient = 4.5.2
|
||||
# When updating httpcore, please also update core/src/main/resources/org/elasticsearch/bootstrap/test-framework.policy
|
||||
httpcore = 4.4.5
|
||||
|
|
|
@ -53,12 +53,7 @@ grant codeBase "${codebase.randomizedtesting-runner-2.5.0.jar}" {
|
|||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
};
|
||||
|
||||
grant codeBase "${codebase.junit4-ant-2.3.2.jar}" {
|
||||
// needed for stream redirection
|
||||
permission java.lang.RuntimePermission "setIO";
|
||||
};
|
||||
|
||||
grant codeBase "${codebase.junit-4.11.jar}" {
|
||||
grant codeBase "${codebase.junit-4.12.jar}" {
|
||||
// needed for TestClass creation
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue