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

os-autoinst / openQA / 3117 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2016 01:36AM UTC
Files 96
Run time 6s
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

13 Sep 2016 01:23AM UTC coverage: 70.542%. Remained the same
3117.1

push

travis-ci

coolo
dead worker check: use 15 secs not 10, better names, comments (#864)

As discussed in #848, it's kind of racy to have the workers
POST a status update every 10 seconds, and have the dead worker
check consider any worker which hasn't updated in the last 10
seconds 'dead'. It doesn't allow for there being a slight delay
in POSTing the update (which can happen if the worker is busy
doing something else when the 10 second timer should trigger
the update) or in the update being actually received and
processed by the server. So let's just change the threshold for
the check to 15 seconds.

While I'm at it, I figured we could make the subroutine names
a bit clearer: since the DB query subroutine isn't really the
ultimate arbiter of whether the worker is truly 'dead' or not
any more, let's call that `_get_stale_worker_jobs` instead of
`_get_dead_worker_jobs` (and call its result `$stale_jobs` not
`$dead_jobs`). This should make the code a bit less confusing
to anyone reading it fresh.

Also, coolo's changes from #848 changed the behaviour here
without updating all the comments; update a couple of comments
and explain a bit more in them.

4241 of 6012 relevant lines covered (70.54%)

100.18 hits per line

Source Files on job 3117.1
  • Tree
  • List 0
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 3117
  • Travis Job 3117.1
  • 4478324f on github
  • Prev Job for on master (#3112.1)
  • Next Job for on master (#3124.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