Commit 4cb04c3
authored
Forbid use of ClassLoader APIs for disabling assertions (opensearch-project#20000)
Programmatically disabling assertions in tests will disable assertions
for all classes loaded in that JVM instance. This will cause suprious
test failures in random tests depending on where and when they get
executed.
Signed-off-by: Andrew Ross <andrross@amazon.com>1 parent 6966267 commit 4cb04c3
File tree
1 file changed
+5
-0
lines changed- buildSrc/src/main/resources/forbidden
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
0 commit comments