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

nats-io / nats-server / 13581493904
83%

Build:
DEFAULT BRANCH: main
Ran 28 Feb 2025 05:40AM 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

27 Feb 2025 05:07PM UTC coverage: 85.393% (+0.06%) from 85.331%
13581493904

push

github

web-flow
De-flake TestNRGTermDoesntRollBackToPtermOnCatchup (#6593)

Various Raft tests could potentially deadlock if they'd make a call to
`rg.lockAll()` which locks all Raft nodes while another part is also
holding the state machine's lock and requires a Raft lock.

`TestNRGTermDoesntRollBackToPtermOnCatchup` could fail with the
following error message due to interest propagation not being immediate.
```
raft_test.go:882: require read from channel within 5s but didn't get anything
```

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

69077 of 80893 relevant lines covered (85.39%)

491076.53 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
63.16
-10.53% src/github.com/nats-io/nats-server/server/jetstream_events.go
2
93.56
-0.08% src/github.com/nats-io/nats-server/server/route.go
2
84.96
0.17% src/github.com/nats-io/nats-server/server/stream.go
4
52.92
0.24% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
5
73.52
0.09% src/github.com/nats-io/nats-server/server/jetstream_api.go
5
80.76
-0.11% src/github.com/nats-io/nats-server/server/opts.go
6
93.82
-0.25% src/github.com/nats-io/nats-server/server/gateway.go
6
90.46
-0.25% src/github.com/nats-io/nats-server/server/leafnode.go
9
94.88
-0.09% src/github.com/nats-io/nats-server/server/client.go
9
84.91
0.76% src/github.com/nats-io/nats-server/server/raft.go
10
88.06
0.44% src/github.com/nats-io/nats-server/server/consumer.go
10
85.93
-0.49% src/github.com/nats-io/nats-server/server/events.go
10
83.41
0.07% src/github.com/nats-io/nats-server/server/filestore.go
11
86.1
-0.33% src/github.com/nats-io/nats-server/server/accounts.go
388
81.25
0.4% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
Jobs
ID Job ID Ran Files Coverage
1 13581493904.1 28 Feb 2025 05:40AM UTC 57
85.39
GitHub Action Run
Source Files on build 13581493904
  • Tree
  • List 57
  • Changed 44
  • Source Changed 2
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13581493904
  • 252ea270 on github
  • Prev Build on main (#13559082394)
  • Next Build on main (#13601202244)
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