Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Nov 16, 2024

The #43979 introduced unit_tests.sh script that did not properly propagate error codes (no -e/+e setting).

This PR fixes it - also fixes an edge case where the -e setting is not restored in run breeze commmand script.


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk requested a review from ashb as a code owner November 16, 2024 05:55
@potiuk potiuk requested review from bugraoz93 and Copilot and removed request for ashb November 16, 2024 05:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Files not reviewed (2)
  • scripts/ci/testing/run_breeze_command_with_retries.sh: Language not supported
  • scripts/ci/testing/run_unit_tests.sh: Language not supported

@potiuk potiuk added the full tests needed We need to run full set of tests for this PR to merge label Nov 16, 2024
@potiuk potiuk closed this Nov 16, 2024
@potiuk potiuk reopened this Nov 16, 2024
@potiuk potiuk force-pushed the fix-error-code-propagation-in-tests branch from 0900de0 to 3f53375 Compare November 16, 2024 06:14
@potiuk
Copy link
Member Author

potiuk commented Nov 16, 2024

We will also have to merge #44088 to revert the failing API tests.

@potiuk potiuk requested a review from Lee-W November 16, 2024 06:32
@potiuk
Copy link
Member Author

potiuk commented Nov 16, 2024

Now - we detect those errors properlu.

Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, all the failing tests are related to other pr.

@gopidesupavan gopidesupavan force-pushed the fix-error-code-propagation-in-tests branch from 3f53375 to ce99b2a Compare November 16, 2024 07:34
@gopidesupavan
Copy link
Member

added fix here for the failed tests: #44093

The apache#43979 introduced unit_tests.sh script that did not properly
propagate error codes (no -e/+e setting).

This PR fixes it - also fixes an edge case where the -e setting
is not restored in run breeze commmand script.
@gopidesupavan gopidesupavan force-pushed the fix-error-code-propagation-in-tests branch from ce99b2a to bf956ae Compare November 16, 2024 09:36
@potiuk potiuk merged commit 30c97d6 into apache:main Nov 16, 2024
@potiuk potiuk deleted the fix-error-code-propagation-in-tests branch November 16, 2024 10:17
kandharvishnu pushed a commit to kandharvishnu/airflow that referenced this pull request Nov 19, 2024
The apache#43979 introduced unit_tests.sh script that did not properly
propagate error codes (no -e/+e setting).

This PR fixes it - also fixes an edge case where the -e setting
is not restored in run breeze commmand script.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants