You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/12/02 15:10:40 UTC

[airflow] branch v1-10-test updated: fixup! Add metric for scheduling delay between first run task & expected start time (#9544)

This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new 0692594  fixup! Add metric for scheduling delay between first run task & expected start time (#9544)
0692594 is described below

commit 069259409d7333365be965ae42d507567b4891c3
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Wed Dec 2 15:08:50 2020 +0000

    fixup! Add metric for scheduling delay between first run task & expected start time (#9544)
---
 tests/models/test_dagrun.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/models/test_dagrun.py b/tests/models/test_dagrun.py
index e823a72..1f627c5 100644
--- a/tests/models/test_dagrun.py
+++ b/tests/models/test_dagrun.py
@@ -654,6 +654,5 @@ class DagRunTest(unittest.TestCase):
         session.close()
         dag_run.update_state()
         true_delay = (ti.start_date - dag.following_schedule(dag_run.execution_date)).total_seconds()
-        stats_mock.assert_called()
         sched_delay_stat_call = call('dagrun.{}.first_task_scheduling_delay'.format(dag.dag_id), true_delay)
         self.assertIn(sched_delay_stat_call, stats_mock.mock_calls)