Skip to content

Fix flaky test: test_get_last_ti_with_multiple_tis #53752

@amoghrajesh

Description

@amoghrajesh

Body

We have a flaky test which needs fixing:

================================================================================ Warning summary. Total: 506, Unique: 48 =================================================================================
other: total 175, unique 20
  runtest: total 175, unique 20
providers: total 280, unique 6
  runtest: total 280, unique 6
tests: total 51, unique 24
  runtest: total 51, unique 24
Warnings saved into /files/warnings-core-postgres.txt file.
======================================================================================== short test summary info =========================================================================================
FAILED airflow-core/tests/unit/models/test_dagrun.py::TestDagRunGetLastTi::test_get_last_ti_with_multiple_tis - assert equals failed
  <TaskInstance: test_dag.task1 test [success]>  <TaskInstance: test_dag.task3 test [running]>
============================================================= 1 failed, 1713 passed, 645 skipped, 3 xfailed, 1 warning in 622.92s (0:10:22) ==============================================================

Dumping logs on error

Committer

  • I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:CIAirflow's tests and continious integrationkind:metaHigh-level information important to the community

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions