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

nats-io / nats-server / 10052838386
86%

Build:
DEFAULT BRANCH: main
Ran 23 Jul 2024 05:33AM CUT
Jobs 1
Files 56
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

23 Jul 2024 03:14AM CUT coverage: 85.183% (-0.02%) from 85.205%
10052838386

push

github

web-flow
NRG (2.11): Don't revert `term` to `pterm` on AE mismatch (#5684)

Beforehand when we were trying to run a catchup, we were reverting the
`term` back to `pterm`. We can't ever move the term backwards safely and
the catchup itself does not rely on this behaviour in order to work (as
the catchup entries are matched only on `pterm`/`pindex`), so don't
revert it.

We saw this behaviour in Antithesis where a catchup could take us back a
term.

Signed-off-by: Neil Twigg <neil@nats.io>

66135 of 77639 relevant lines covered (85.18%)

953288.99 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
70.56
0.16% src/github.com/nats-io/nats-server/server/jetstream_api.go
2
88.5
0.43% src/github.com/nats-io/nats-server/server/memstore.go
2
66.67
-13.33% src/github.com/nats-io/nats-server/server/jetstream_events.go
3
90.32
0.22% src/github.com/nats-io/nats-server/server/leafnode.go
4
86.25
-0.12% src/github.com/nats-io/nats-server/server/accounts.go
4
89.32
0.0% src/github.com/nats-io/nats-server/server/mqtt.go
5
81.82
-0.23% src/github.com/nats-io/nats-server/server/jetstream.go
5
81.29
0.0% src/github.com/nats-io/nats-server/server/opts.go
7
83.79
0.03% src/github.com/nats-io/nats-server/server/filestore.go
9
94.46
-0.19% src/github.com/nats-io/nats-server/server/client.go
10
79.75
0.27% src/github.com/nats-io/nats-server/server/jetstream_cluster.go
18
96.85
0.0% src/github.com/nats-io/nats-server/server/sublist.go
34
87.1
-0.7% src/github.com/nats-io/nats-server/server/consumer.go
73
94.58
0.0% src/github.com/nats-io/nats-server/server/server.go
100
84.39
-0.15% src/github.com/nats-io/nats-server/server/monitor.go
138
93.33
-0.16% src/github.com/nats-io/nats-server/server/route.go
344
83.17
-0.11% src/github.com/nats-io/nats-server/server/raft.go
410
51.18
2.5% src/github.com/nats-io/nats-server/server/jetstream_errors_generated.go
518
84.55
-0.27% src/github.com/nats-io/nats-server/server/stream.go
Jobs
ID Job ID Ran Files Coverage
1 10052838386.1 23 Jul 2024 05:33AM CUT 56
85.18
GitHub Action Run
Source Files on build 10052838386
  • Tree
  • List 56
  • Changed 43
  • Source Changed 10
  • Coverage Changed 21
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
50.22
src/github.com/nats-io/nats-server/server/proto.go268 227 114 113 10.0
51.18
...o/nats-server/server/jetstream_errors_generated.go2461 + 781188 + 54608 + 56580 - 23023.0 - 649
58.76
...github.com/nats-io/nats-server/internal/ldap/dn.go305 194 114 80 117.0
62.5
src/github.com/nats-io/nats-server/server/const.go53 8 5 3 2.0
66.67
...com/nats-io/nats-server/server/jetstream_events.go36 15 10 - 25 + 230926.0 + 11221
68.45
...github.com/nats-io/nats-server/server/ocsp_peer.go404 317 217 100 50.0
69.62
src/github.com/nats-io/nats-server/logger/log.go401 260 181 79 12.0
70.56
...ub.com/nats-io/nats-server/server/jetstream_api.go4659 3203 2260 + 5943 - 53588.0 + 708
71.88
...rc/github.com/nats-io/nats-server/logger/syslog.go132 64 46 18 29.0
72.78
src/github.com/nats-io/nats-server/server/store.go769 327 238 89 3171111.0 - 101787
Showing 1 to 10 of 56 entries
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
  • ►
    85.18
    src/
  • Back to Repo
  • Github Actions Build #10052838386
  • c3168037 on github
  • Prev Build on main (#10034776333)
  • Next Build on main (#10070626560)
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