peterxcli commented on code in PR #8553:
URL: https://github.com/apache/ozone/pull/8553#discussion_r2124390224


##########
hadoop-ozone/dev-support/checks/junit.sh:
##########
@@ -68,8 +68,13 @@ for i in $(seq 1 ${ITERATIONS}); do
     mkdir -p "${REPORT_DIR}"
   fi
 
-  mvn ${MAVEN_OPTIONS} 
-Dmaven-surefire-plugin.argLineAccessArgs="${OZONE_MODULE_ACCESS_ARGS}" "$@" 
verify \
-    | tee "${REPORT_DIR}/output.log"
+  if [[ $i -eq 1 ]]; then
+    mvn ${MAVEN_OPTIONS} 
-Dmaven-surefire-plugin.argLineAccessArgs="${OZONE_MODULE_ACCESS_ARGS}" "$@" 
verify \
+      | tee "${REPORT_DIR}/output.log"
+  else
+    mvn ${MAVEN_OPTIONS} 
-Dmaven-surefire-plugin.argLineAccessArgs="${OZONE_MODULE_ACCESS_ARGS}" "$@" 
clean verify \
+      | tee "${REPORT_DIR}/output.log"
+  fi

Review Comment:
   The `_post_process.sh` script collect the result form the target dir too, if 
previous result is cleaned then we might ignore some error.
   
   I think we can use another directory to collect the test result: 
https://github.com/apache/ozone/commit/0cf95b351802eb46d518d0fc884fd658ef9d6724



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to