Commit a266c92
authored
Add powermock global configuration (#3467)
### Motivation
Fix #3115
When I try to run some test classes, there will occur an error message like the above issue cause `javax/management/MBeanServer` is a system class and javassist's classloader cannot load it. we can add powermock global configuration to ignore this error message.
The powermock's instruction is here: https://github.com/powermock/powermock/wiki/PowerMock-Configuration
### Changes
Add `org/powermock/extensions/configuration.properties`.1 parent d5ab02a commit a266c92
File tree
1 file changed
+22
-0
lines changed- bookkeeper-server/src/test/resources/org/powermock/extensions
1 file changed
+22
-0
lines changedLines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments