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

nats-io / nats-server / 12269838693 / 1
81%
main: 81%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2024 05:42AM UTC
Files 57
Run time 3s
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

10 Dec 2024 09:42PM UTC coverage: 85.29% (-0.2%) from 85.477%
12269838693.1

push

github

web-flow
De-flake RAFT state adder tests (#6239)

Fixes `TestNRGHeartbeatOnLeaderChange` by checking if new entries are
actually being applied. This was not possible before because it would
always check a total of 0. If all proposals would fail, this test would
still pass.

More importantly `a.sum` was not reset, which meant that state before
the call to `restart()` would be preserved, and replayed entries during
catchup/recovery would be re-applied.

Also added a call to `a.n.WaitForStop()` in `a.stop()`. Otherwise things
could still be around and not properly stopped when we restart with
`a.restart()`.

Signed-off-by: Maurice van Veen <github@mauricevanveen.com>

68178 of 79937 relevant lines covered (85.29%)

1442413.36 hits per line

Source Files on job 12269838693.1
  • Tree
  • List 0
  • Changed 44
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 12269838693
  • a3a65514 on github
  • Prev Job for on main (#12249569567.1)
  • Next Job for on main (#12289995750.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