Skip to content

Commit

Permalink
[AIRFLOW-3830] Remove unnecessary sync to db (apache#4853)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fokko authored Mar 10, 2019
1 parent cc06fef commit c7e3e73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/www/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,11 +316,8 @@ def cleanup_dagruns(self):
def prepare_dagruns(self):
dagbag = models.DagBag(include_examples=True)
self.bash_dag = dagbag.dags['example_bash_operator']
self.bash_dag.sync_to_db()
self.sub_dag = dagbag.dags['example_subdag_operator']
self.sub_dag.sync_to_db()
self.xcom_dag = dagbag.dags['example_xcom']
self.xcom_dag.sync_to_db()

self.bash_dagrun = self.bash_dag.create_dagrun(
run_id=self.run_id,
Expand Down

0 comments on commit c7e3e73

Please sign in to comment.