parent
314e1c8a3e
commit
de79faec70
|
@ -61,13 +61,7 @@ public class BootstrapForTesting {
|
||||||
try {
|
try {
|
||||||
JarHell.checkJarHell();
|
JarHell.checkJarHell();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (Boolean.parseBoolean(System.getProperty("tests.maven"))) {
|
throw new RuntimeException("found jar hell in test classpath", e);
|
||||||
throw new RuntimeException("found jar hell in test classpath", e);
|
|
||||||
} else {
|
|
||||||
Loggers.getLogger(BootstrapForTesting.class)
|
|
||||||
.warn("Your ide or custom test runner has jar hell issues, " +
|
|
||||||
"you might want to look into that", e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure java.io.tmpdir exists always (in case code uses it in a static initializer)
|
// make sure java.io.tmpdir exists always (in case code uses it in a static initializer)
|
||||||
|
|
Loading…
Reference in New Issue