The GitHub Actions job "Tests" on airflow.git/v3-1-test has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
f021891c0c61b1beea0c480ea9098fccf88e7ea5 / Aritra Basu 
<[email protected]>
[v3-1-test] Updates exception to hide sql statements on constraint fa… (#63504)

* [v3-1-test] Updates exception to hide sql statements on constraint failure 
(#63028)

* Updates exception to hide sql statements on constraint failure

The exception handler now hides the sql statement when the expose
stacktrace flag is false.

* Fixes failing UT

* Adds ignore type on pop from dict

Since pytest returns a starlette HTTPException
it annotates details as a string, we make use
of FastApi's HTTPException which returns details
as a dict. Due to this mypy get's confused about
some of the operations we're performing on a dict.

* Cleaned up UTs to remove generate_test_cases_parametrize
(cherry picked from commit 60f6efca5b5169ad89eda9993c12687715413d69)

Co-authored-by: Aritra Basu <[email protected]>

* Updates sql statement in test exception

the sql statements needed to be updated to use
the older parameter of team_name instead of team_id
also updates the test to the older pattern splitting
by sql alchemy version

Report URL: https://github.com/apache/airflow/actions/runs/23096752154

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to