Skip to content

Commit

Permalink
[AIRFLOW-XXX] Make sure session is committed
Browse files Browse the repository at this point in the history
(cherry picked from commit bc766e7)
Signed-off-by: Bolke de Bruin <[email protected]>
  • Loading branch information
bolkedebruin committed Dec 9, 2017
1 parent 46dca05 commit 79f6e77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/utils/test_log_handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def cleanUp(self):
session.query(DagRun).delete()
session.query(TaskInstance).delete()

session.commit()

def setUp(self):
super(TestFileTaskLogHandler, self).setUp()
logging.config.dictConfig(DEFAULT_LOGGING_CONFIG)
Expand Down

0 comments on commit 79f6e77

Please sign in to comment.