Skip to content

Fix error propagation in new tests - #44087

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-error-code-propagation-in-tests
Nov 16, 2024
Merged

Fix error propagation in new tests#44087
potiuk merged 1 commit into
apache:mainfrom
potiuk:fix-error-code-propagation-in-tests

Conversation

@potiuk

Copy link
Copy Markdown
Member

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 ownerNovember 16, 2024 05:55
@potiuk
potiuk requested review from bugraoz93 and Copilot and removed request for ashbNovember 16, 2024 05:55

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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

@potiukpotiuk added the full tests needed We need to run full set of tests for this PR to merge label Nov 16, 2024
@potiukpotiuk closed this Nov 16, 2024
@potiukpotiuk reopened this Nov 16, 2024
@potiuk
potiukforce-pushed the fix-error-code-propagation-in-tests branch from 0900de0 to 3f53375CompareNovember 16, 2024 06:14
@potiuk

Copy link
Copy Markdown
MemberAuthor

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

@potiuk
potiuk requested a review from Lee-WNovember 16, 2024 06:32
@potiuk

Copy link
Copy Markdown
MemberAuthor

Now - we detect those errors properlu.

@gopidesupavangopidesupavan left a comment

Copy link
Copy Markdown
Member

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
gopidesupavanforce-pushed the fix-error-code-propagation-in-tests branch from 3f53375 to ce99b2aCompareNovember 16, 2024 07:34
@gopidesupavan

Copy link
Copy Markdown
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
gopidesupavanforce-pushed the fix-error-code-propagation-in-tests branch from ce99b2a to bf956aeCompareNovember 16, 2024 09:36
@potiuk
potiuk merged commit 30c97d6 into apache:mainNov 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 freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-toolsfull tests neededWe 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.

6 participants

@potiuk@gopidesupavan@Lee-W@vatsrahul1001@jscheffl