mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Fix BootstrapForTesting blowup
This commit fixes an issue with BootstrapForTesting where the common case was to invoke a method with a null parameter that does not accept null.
This commit is contained in:
parent
8c554215e0
commit
1d648a3d46
@ -121,7 +121,7 @@ public class BootstrapForTesting {
|
||||
}
|
||||
// jacoco coverage output file
|
||||
final boolean testsCoverage =
|
||||
Booleans.parseBoolean(System.getProperty("tests.coverage"));
|
||||
Booleans.parseBoolean(System.getProperty("tests.coverage", "false"));
|
||||
if (testsCoverage) {
|
||||
Path coverageDir = PathUtils.get(System.getProperty("tests.coverage.dir"));
|
||||
perms.add(new FilePermission(coverageDir.resolve("jacoco.exec").toString(), "read,write"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user