The GitHub Actions job "Tests" on airflow.git has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
322ce0ccfa5f5cc4d671a9d470a589636a9c6b70 / github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
[v2-10-test] Improve speed of tests by not creating connections at parse time 
(#45690) (#45826)

The DAG serialization tests load all of the example and system test DAGs, and
there were two places that these tests opened connections at parse time
resulting in loads of extra of test time.

- The SystemTestContextBuilder was trying to fetch things from SSM. This was
  addressed by adding a functools.cache on the function
- The Bedrock example dag was setting/caching the underlying conn object
  globally. This was addressed by making the Airflow connection a global,
  rather than the Bedrock conn. This fix is not _great_, but it does massively
  help

Before:

> 111 passed, 1 warning in 439.37s (0:07:19)

After:

> 111 passed, 1 warning in 71.76s (0:01:11)
(cherry picked from commit 102e853)

Co-authored-by: Ash Berlin-Taylor <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to