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

collectiveidea / delayed_job / 430 / 26
90%
master: 92%

Build:
Build:
LAST BUILD BRANCH: try-fixing-jruby
DEFAULT BRANCH: master
Ran 30 Jan 2015 12:38AM UTC
Files 16
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

30 Jan 2015 12:32AM UTC coverage: 89.402%. First build
jruby-head, RAILS_VERSION="~> 4.0.0"

push

travis-ci

brianhempel
Make Delayed::Worker.new idempotent 

Calling Delayed::Worker.new multiple times would continue to re-add the
plugins to the lifecycle.

Some gems and projects use the pattern `Delayed::Worker.new.work_off` to
trigger delayed jobs in specs. Over time, the callback chain would get
very long and, in our case, caused a StackLevelTooDeep error.

Better would be to have a proper singleton: 

`Delayed::Worker.worker.work_off`

In the absence of a proper singleton, this will make the pattern work.

852 of 953 relevant lines covered (89.4%)

18.17 hits per line

Source Files on job 430.26 (jruby-head, RAILS_VERSION="~> 4.0.0")
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 430
  • Travis Job 430.26
  • bdbbf607 on github
  • Next Job for jruby-head, RAILS_VERSION="~> 4.0.0" on idempotent_instantiation (#432.26)
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