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

rschmukler / agenda / 244 / 3
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 11 Feb 2015 01:08AM UTC
Files 2
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

11 Feb 2015 01:06AM UTC coverage: 94.461% (-0.3%) from 94.721%
244.3

Pull #151

travis-ci

droppedoncaprica
Fix for when _findAndLockNextJob returns multiple jobs.

After working out how Agenda pulls in jobs for processing, I noticed
that the _findAndLockNextJob method could return multiple jobs, which
ends up breaking jobs with the same definition.  The query grabs and
updates the list of jobs whose lock time is passed or should be ran,
meaning if you have multiple of the same jobs running and shut
down the server, it will end up never running those jobs again.

I do need to pick @rschmukler's brain about how to properly get tests
for these methods, as it seems that the methods in question are
private and unreachable using Mocha.

Fixes #131
Pull Request #151: Fix for when _findAndLockNextJob returns multiple jobs.

324 of 343 relevant lines covered (94.46%)

400.8 hits per line

Source Files on job 244.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 244
  • Travis Job 244.3
  • 1be9deba on github
  • Prev Job for on master (#243.3)
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