HDDS-2147. Include dumpstream in test report

Closes #1470
This commit is contained in:
Doroszlai, Attila 2019-09-19 10:41:00 +02:00 committed by Márton Elek
parent ef478fe73e
commit 1029060e61
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28
1 changed files with 5 additions and 2 deletions

View File

@ -23,8 +23,11 @@ find "." -name 'TEST*.xml' -print0 \
| tee "$REPORT_DIR/summary.txt" | tee "$REPORT_DIR/summary.txt"
#Copy heap dump and dump leftovers #Copy heap dump and dump leftovers
find "." -name "*.hprof" -exec cp {} "$REPORT_DIR/" \; find "." -name "*.hprof" \
find "." -name "*.dump" -exec cp {} "$REPORT_DIR/" \; -or -name "*.dump" \
-or -name "*.dumpstream" \
-or -name "hs_err_*.log" \
-exec cp {} "$REPORT_DIR/" \;
## Add the tests where the JVM is crashed ## Add the tests where the JVM is crashed
grep -A1 'Crashed tests' "${REPORT_DIR}/output.log" \ grep -A1 'Crashed tests' "${REPORT_DIR}/output.log" \