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

theodi / open-data-certificate / 1748
82%
staging: 82%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: staging
Ran 24 Sep 2015 02:36PM UTC
Jobs 1
Files 84
Run time 3s
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

pending completion
1748

push

travis-ci

pkqk
Retry `save!` when a deadlock aborts the update

Two update queries in MySQL can deadlock if one
transaction gets the lock for the row and another
gets the lock for the index first (if it’s near by
in the index, i.e. close id numbers)

I tried shuffling the order the updates when into
the queue but that was not enough distribution to
solve this. The only solution is to retry the
query. Though ActiveRecord does not make this
easy.

7 of 7 new or added lines in 1 file covered. (100.0%)

2423 of 2965 relevant lines covered (81.72%)

132.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
app/models/certificate_generator.rb
Jobs
ID Job ID Ran Files Coverage
1 1748.1 (2.0.0) 24 Sep 2015 02:36PM UTC 0
81.72
Travis Job 1748.1
Source Files on build 1748
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1748
  • afbffffd on github
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