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

box / ClusterRunner / 1384
79%
master: 5%

Build:
Build:
LAST BUILD BRANCH: updatePublishing
DEFAULT BRANCH: master
Ran 11 Apr 2016 08:25PM UTC
Jobs 3
Files 92
Run time 3min
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
1384

push

travis-ci

josephharrington
Verify slave session id on is_alive check

Previously when the master checked if a slave is alive, it only
checked if the slave service is responsive at that url. This change
makes the master also verify that the slave service that responds at
that url still has the same session id that the slave reported when
it connected to the master.

This will cause the `slave.is_alive()` check on the master to start
returning false if the slave responds but has the wrong session id.
Previously this would return true.

This is done by setting a header in the master's request to the
slave that includes the expected session id. If the slave sees this
and it does not match its current session id, it will return a 412
and the master will consider the slave with the old session id to be
offline.

This fixes #296. Now when the slave allocator does the `is_alive()`
call before allocating a slave to a build, it will correctly detect
when a slave's session id has changed and should be considered
offline.

2919 of 3694 relevant lines covered (79.02%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1384.1 (TARGETS="lint test-unit-with-coverage") 11 Apr 2016 08:26PM UTC 0
77.02
Travis Job 1384.1
2 1384.2 (TARGETS="test-integration-with-coverage") 11 Apr 2016 08:25PM UTC 0
5.68
Travis Job 1384.2
3 1384.3 (TARGETS="test-functional test-unit-via-clusterrunner") 11 Apr 2016 08:28PM UTC 0
Travis Job 1384.3
Source Files on build 1384
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1384
  • efb627be 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