Fix test failure because of duplicates file templates in classpath
There're two ways for getting templates in test runtime. One is from sources resource files, the second one is from compiled jar. Remove the first entry manually. A better fix is to extract tests to separate module. This will leave only jar in the test runtime classpath.
This commit is contained in:
@@ -48,8 +48,9 @@ public class PrintingLogger extends Logger {
|
||||
|
||||
@Override
|
||||
public void debug(@Nullable Throwable t) {
|
||||
//noinspection ConstantConditions
|
||||
t.printStackTrace(out);
|
||||
if (t != null) {
|
||||
t.printStackTrace(out);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user