The GitHub Actions job "Tests (AMD)" on 
airflow.git/fix-66796-serialized-dag-model-get-count has failed.
Run started by GitHub user gingeekrishna (triggered by potiuk).

Head commit for run:
0edd85245e81c7ab844f24781875d126908fb454 / gingeekrishna 
<[email protected]>
fix: pin conf mock in emit_metrics tests, add disabled-config test, fix 
OperationalError params

- Mock conf.getboolean explicitly to True in existing emit_metrics tests so they
  are deterministic regardless of the runtime Airflow config
- Add test_emit_metrics_skips_serialized_dag_count_when_disabled to cover the
  config=False branch: asserts get_count is not called and no gauge is emitted
- Pass {} (not None) as the params arg to OperationalError to match real 
SQLAlchemy
  error construction and avoid brittle stringification behaviour

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

With regards,
GitHub Actions via GitBox


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

Reply via email to