dabla commented on code in PR #64154:
URL: https://github.com/apache/airflow/pull/64154#discussion_r2989915720


##########
scripts/ci/testing/run_unit_tests.sh:
##########
@@ -102,7 +102,12 @@ function providers_tests() {
         exit 1
     fi
     set -e
-    if [[ ${RESULT} != "0" ]]; then
+    # If pytest returns exit code 1 (no tests collected) for DB-only runs, 
treat it as success
+    # to avoid failing CI when there are simply no DB tests defined for the 
group.
+    if [[ ${RESULT} == "1" && "${TEST_SCOPE}" == "DB" ]]; then

Review Comment:
   This is not a nit but a good point actually and I agree with you, problem is 
I don't know breeze code at no more claude tokens at disposal ;-)  How would 
you change it then?  Because this could be dangerous and hiding the problem in 
other cases where tests should be expected.



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