Browse Source

HDDS-2147. Include dumpstream in test report

Closes #1470
Doroszlai, Attila 5 năm trước cách đây
mục cha
commit
1029060e61
1 tập tin đã thay đổi với 5 bổ sung2 xóa
  1. 5 2
      hadoop-ozone/dev-support/checks/_mvn_unit_report.sh

+ 5 - 2
hadoop-ozone/dev-support/checks/_mvn_unit_report.sh

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