This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new 92b49ebde9 HDDS-8984. Keep separate Robot XMLs if rebot fails to 
combine them (#5031)
92b49ebde9 is described below

commit 92b49ebde98774f9f63ad091bce662d20c95096f
Author: Doroszlai, Attila <[email protected]>
AuthorDate: Tue Jul 11 23:04:25 2023 +0200

    HDDS-8984. Keep separate Robot XMLs if rebot fails to combine them (#5031)
---
 hadoop-ozone/dist/src/main/compose/testlib.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hadoop-ozone/dist/src/main/compose/testlib.sh 
b/hadoop-ozone/dist/src/main/compose/testlib.sh
index 83a8dd6b3b..8137e75088 100755
--- a/hadoop-ozone/dist/src/main/compose/testlib.sh
+++ b/hadoop-ozone/dist/src/main/compose/testlib.sh
@@ -385,8 +385,8 @@ copy_results() {
   fi
 
   if [[ -n "$(find "${result_dir}" -name "*.xml")" ]]; then
-    rebot --nostatusrc -N "${test_name}" -l NONE -r NONE -o 
"${all_result_dir}/${test_name}.xml" "${result_dir}"/*.xml
-    rm -fv "${result_dir}"/*.xml "${result_dir}"/log.html 
"${result_dir}"/report.html
+    rebot --nostatusrc -N "${test_name}" -l NONE -r NONE -o 
"${all_result_dir}/${test_name}.xml" "${result_dir}"/*.xml \
+      && rm -fv "${result_dir}"/*.xml "${result_dir}"/log.html 
"${result_dir}"/report.html
   fi
 
   mkdir -p "${target_dir}"


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to