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

nats-io / nats-server / 12269838693
83%

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

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

Jobs
ID Job ID Ran Files Coverage
1 12269838693.1 11 Dec 2024 05:42AM UTC 0
85.29
GitHub Action Run
Source Files on build 12269838693
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12269838693
  • a3a65514 on github
  • Prev Build on main (#12249569567)
  • Next Build on main (#12289995750)
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