mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-08 22:14:59 +00:00
parent
63af03a104
commit
5bec4f8024
@ -182,7 +182,7 @@ public abstract class ESClientYamlSuiteTestCase extends ESRestTestCase {
|
||||
protected void afterIfFailed(List<Throwable> errors) {
|
||||
// Dump the stash on failure. Instead of dumping it in true json we escape `\n`s so stack traces are easier to read
|
||||
logger.info("Stash dump on failure [{}]",
|
||||
XContentHelper.toString(restTestExecutionContext.stash()).replace("\\n", "\n").replace("\\t", "\t"));
|
||||
XContentHelper.toString(restTestExecutionContext.stash()).replace("\\n", "\n").replace("\\r", "\r").replace("\\t", "\t"));
|
||||
super.afterIfFailed(errors);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user