Skip to content

[v3-3-test] Fix airflow connections test returning success exit code on failure (#72548) - #72583

Merged
vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-2056378-v3-3-test
Sep 7, 2026
Merged

vatsrahul1001 merged 1 commit into
v3-3-testfrom
backport-2056378-v3-3-test

Conversation

@github-actions

@github-actions github-actions Bot commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

The failure branch in connections_test only printed the error message
without raising SystemExit(1), unlike the other two failure paths in
the same function. Any script that checks the exit code of this
command would treat a failed connection test as a success.
(cherry picked from commit 2056378)

Co-authored-by: Jyun-An Chen jun930436@gmail.com

…on failure (#72548)

The failure branch in connections_test only printed the error message
without raising SystemExit(1), unlike the other two failure paths in
the same function. Any script that checks the exit code of this
command would treat a failed connection test as a success.
(cherry picked from commit 2056378)

Co-authored-by: Jyun-An Chen <jun930436@gmail.com>
@vatsrahul1001 vatsrahul1001 added this to the Airflow 3.3.2 milestone Sep 7, 2026
@vatsrahul1001
vatsrahul1001 merged commit 436f479 into v3-3-test Sep 7, 2026
135 checks passed
@vatsrahul1001
vatsrahul1001 deleted the backport-2056378-v3-3-test branch September 7, 2026 05:35
vatsrahul1001 pushed a commit that referenced this pull request Sep 7, 2026
…on failure (#72548) (#72583)

The failure branch in connections_test only printed the error message
without raising SystemExit(1), unlike the other two failure paths in
the same function. Any script that checks the exit code of this
command would treat a failed connection test as a success.
(cherry picked from commit 2056378)

Co-authored-by: Jyun-An Chen <jun930436@gmail.com>
@vatsrahul1001 vatsrahul1001 added the type:bug-fix Changelog: Bug Fixes label Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:CLI type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants