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

willemt / raft / 86 / 1
88%
master: 88%

Build:
DEFAULT BRANCH: master
Ran 28 Sep 2015 02:37PM UTC
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

28 Sep 2015 02:37PM UTC coverage: 84.816% (-0.07%) from 84.881%
86.1

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

Source Files on job 86.1
  • Tree
  • List 0
  • Changed 4
  • Source Changed 1
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 86
  • Travis Job 86.1
  • daa93cb1 on github
  • Prev Job for on master (#82.1)
  • Next Job for on master (#87.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