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

databendlabs / openraft / 28744024451

05 Jul 2026 02:24PM UTC coverage: 87.233% (+0.02%) from 87.215%
28744024451

push

github

drmingdrmer
test: disable elections in hung follower test

# Summary

Keep the hung-follower membership test focused on core-loop responsiveness by preventing follower elections while heartbeats are intentionally disabled.

# Details

The test waits longer than the default election timeout after disabling heartbeats. On slower CI scheduling, a follower can win a new term before the final write, causing a legitimate `ForwardToLeader` instead of exercising the hung-replication path.

Disabling elections in this fixture removes that unrelated race without changing the behavior under test.

17416 of 19965 relevant lines covered (87.23%)

160559.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

99.87
/openraft/src/progress/vec_progress.rs


Source Not Available

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