Apache9 commented on code in PR #7651:
URL: https://github.com/apache/hbase/pull/7651#discussion_r2725577333


##########
dev-support/hbase-personality.sh:
##########
@@ -335,7 +339,12 @@ function get_include_exclude_tests_arg
   local  __resultvar=$1
   yetus_info "EXCLUDE_TESTS_URL=${EXCLUDE_TESTS_URL}"
   yetus_info "INCLUDE_TESTS_URL=${INCLUDE_TESTS_URL}"
-  if [[ -n "${EXCLUDE_TESTS_URL}" ]]; then
+  yetus_info "INCLUDE_TESTS_PATTERN=${INCLUDE_TESTS_PATTERN}"
+  # Direct pattern takes precedence over URL-based includes/excludes
+  if [[ -n "${INCLUDE_TESTS_PATTERN}" ]]; then
+    yetus_debug "Using include pattern: ${INCLUDE_TESTS_PATTERN}"
+    eval "${__resultvar}='-Dtest=${INCLUDE_TESTS_PATTERN}'"
+  elif [[ -n "${EXCLUDE_TESTS_URL}" ]]; then

Review Comment:
   -Dtest.include.pattern=xxx -Dtest.exclude.pattern=xxx



-- 
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]

Reply via email to