• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

airbnb / airflow / 8376 / 1
0%
master: 0%

Build:
DEFAULT BRANCH: master
Ran 02 Nov 2017 06:27PM UTC
Files 173
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Nov 2017 06:16PM UTC coverage: 72.815% (+0.1%) from 72.681%
TOX_ENV=py27-cdh-airflow_backend_mysql

push

travis-ci

Bolke de Bruin
[AIRFLOW-387] Close SQLAlchemy sessions properly

This commit adopts the `provide_session` helper in
almost the entire
codebase. This ensures session are handled and
closed consistently.
In particular, this ensures we don't forget to
close and thus leak
database connections.

As an additional change, the `provide_session`
helper has been extended
to also rollback and close created connections
under error conditions.

As an additional helper, this commit also
introduces a contextmanager
that provides the same functionality as the
`provide_session`
decorator. This is helpful in cases where the
scope of a session should
be smaller than the entire method where it is
being used.

Closes #2739 from StephanErb/session_close

8646 of 11874 relevant lines covered (72.81%)

0.73 hits per line

Source Files on job 8376.1 (TOX_ENV=py27-cdh-airflow_backend_mysql)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 8376
  • Travis Job 8376.1
  • 77652784 on github
  • Prev Job for TOX_ENV=py27-cdh-airflow_backend_mysql on master (#8374.1)
  • Next Job for TOX_ENV=py27-cdh-airflow_backend_mysql on master (#8377.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc