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

os-autoinst / openQA / 3117
100%

Build:
DEFAULT BRANCH: master
Ran 13 Sep 2016 01:36AM UTC
Jobs 1
Files 96
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

pending completion
3117

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

Jobs
ID Job ID Ran Files Coverage
1 3117.1 13 Sep 2016 01:36AM UTC 0
70.54
Travis Job 3117.1
Source Files on build 3117
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3117
  • 4478324f on github
  • Prev Build on master (#3112)
  • Next Build on master (#3124)
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