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

letsencrypt / boulder / 9802 / 11
66%
master: 66%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2018 04:05PM UTC
Files 87
Run time 1min
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

05 Nov 2018 03:40PM UTC coverage: 62.739% (+0.06%) from 62.683%
RUN="coverage" CONTAINER="netaccess"

push

travis-ci

cpu
Add contexts to SA (#3919)

In all cases where we were using `dbMap`, use `dbMap.WithContext()`.

Because of the way Gorp implements contexts, we can't add a context when
opening a transaction, committing it, or rolling it back, but we can add a context
when doing operations within a transaction, using `tx.WithContext()`.

Some functions in SA expected an argument of `gorp.DbMap` or `gorp.Transaction`.
Since Gorp's `WithContext()` functions return a `gorp.SqlExecutor`, those functions
had to be updated. This PR introduces a few local interfaces that define a
subset of methods required from `gorp.SqlExecutor`, which allows more narrowly
defining inputs to functions.

10431 of 16626 relevant lines covered (62.74%)

0.7 hits per line

Source Files on job 9802.11 (RUN="coverage" CONTAINER="netaccess")
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 9302
  • Travis Job 9802.11
  • 8167d877 on github
  • Prev Job for RUN="coverage" CONTAINER="netaccess" on master (#9801.11)
  • Next Job for RUN="coverage" CONTAINER="netaccess" on master (#9806.12)
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