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

nats-io / nats-server / 20156632609
85%

Build:
DEFAULT BRANCH: main
Ran 12 Dec 2025 05:54AM UTC
Jobs 1
Files 61
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

11 Dec 2025 05:17PM UTC coverage: 85.056% (-0.05%) from 85.102%
20156632609

push

github

web-flow
NRG: Raft peer additions (#7632)

This PR makes the following changes:

1. Add test helpers so that we can exercise peer addition in unit tests
2. Fix a case where a partition and peer addition could lead to disjoint
majorities

Signed-off-by: Daniele Sciascia <daniele@nats.io>

74416 of 87491 relevant lines covered (85.06%)

359223.67 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
87.27
0.11% src/github.com/nats-io/nats-server/server/monitor.go
2
94.89
-0.02% src/github.com/nats-io/nats-server/server/client.go
2
73.37
0.14% src/github.com/nats-io/nats-server/server/jetstream_api.go
2
83.99
0.14% src/github.com/nats-io/nats-server/server/jetstream.go
4
93.12
-0.12% src/github.com/nats-io/nats-server/server/server.go
8
94.17
-0.24% src/github.com/nats-io/nats-server/server/gateway.go
8
80.04
-0.1% src/github.com/nats-io/nats-server/server/opts.go
11
86.85
-0.26% src/github.com/nats-io/nats-server/server/accounts.go
11
86.3
-0.52% src/github.com/nats-io/nats-server/server/events.go
25
82.59
0.19% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
209
88.32
0.17% src/github.com/nats-io/nats-server/server/consumer.go
214
86.16
-0.08% src/github.com/nats-io/nats-server/server/stream.go
310
87.32
-0.04% src/github.com/nats-io/nats-server/server/raft.go
1013
82.81
-0.47% src/github.com/nats-io/nats-server/server/filestore.go
Jobs
ID Job ID Ran Files Coverage
1 20156632609.1 12 Dec 2025 05:54AM UTC 61
85.06
GitHub Action Run
Source Files on build 20156632609
  • Tree
  • List 61
  • Changed 18
  • Source Changed 6
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20156632609
  • d936b080 on github
  • Prev Build on main (#20122323441)
  • Next Build on main (#20187010333)
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

© 2025 Coveralls, Inc