mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-11-30 02:00:11 +08:00
Improve error output of native tests
This commit is contained in:
@@ -120,11 +120,11 @@ public class NativeTestClient implements Client {
|
||||
if (exitCode == TIMEOUT_EXIT_CODE) {
|
||||
sb.append(" (timeout)");
|
||||
}
|
||||
sb.append("--- stderr+stdout start ---");
|
||||
sb.append("\n--- stderr+stdout start ---");
|
||||
synchronized (log) {
|
||||
log.stream().forEach(s -> sb.append('\n').append(s));
|
||||
}
|
||||
sb.append("--- stderr+stdout end ---");
|
||||
sb.append("\n--- stderr+stdout end ---");
|
||||
throw new AssertionError(sb);
|
||||
}
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user