You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bo...@apache.org on 2017/12/09 15:20:01 UTC

incubator-airflow git commit: [AIRFLOW-XXX] Make sure session is committed

Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-9-test 404cea594 -> bc766e79c


[AIRFLOW-XXX] Make sure session is committed


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/bc766e79
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/bc766e79
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/bc766e79

Branch: refs/heads/v1-9-test
Commit: bc766e79ce0b2133e251096b3f4b94326f08ac98
Parents: 404cea5
Author: Bolke de Bruin <bo...@xs4all.nl>
Authored: Sat Dec 9 16:05:06 2017 +0100
Committer: Bolke de Bruin <bo...@xs4all.nl>
Committed: Sat Dec 9 16:05:06 2017 +0100

----------------------------------------------------------------------
 tests/utils/test_log_handlers.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bc766e79/tests/utils/test_log_handlers.py
----------------------------------------------------------------------
diff --git a/tests/utils/test_log_handlers.py b/tests/utils/test_log_handlers.py
index b0c9463..e64ed7c 100644
--- a/tests/utils/test_log_handlers.py
+++ b/tests/utils/test_log_handlers.py
@@ -39,6 +39,8 @@ class TestFileTaskLogHandler(unittest.TestCase):
         session.query(DagRun).delete()
         session.query(TaskInstance).delete()
 
+        session.commit()
+
     def setUp(self):
         super(TestFileTaskLogHandler, self).setUp()
         logging.config.dictConfig(DEFAULT_LOGGING_CONFIG)