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

willemt / raft / 86
88%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2015 02:37PM UTC
Jobs 1
Files 4
Run time 0s
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
86

push

travis-ci

willemt
Fix voted_for bug

Reproduction:

Three node configuration without randomized election timeouts.

1. Node 1 and Node 2 both start elections.
2. Node 2 gets a vote from node 3 and transitions to leader (majority votes 2/3 including itself)
3. Node 2 then gets a requestvote from node 1

This causes the raft_is_leader(me_) to be true and the assertion to fire.

Thanks to @ar104 for the fix!

391 of 461 relevant lines covered (84.82%)

27.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 86.1 28 Sep 2015 02:37PM UTC 0
84.82
Travis Job 86.1
Source Files on build 86
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #86
  • daa93cb1 on github
  • Prev Build on master (#82)
  • Next Build on master (#87)
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