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

nats-io / nats-server / 19560257352 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 21 Nov 2025 05:50AM UTC
Files 61
Run time 4s
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

20 Nov 2025 05:46PM UTC coverage: 86.058% (+1.3%) from 84.73%
19560257352.1

push

github

web-flow
fix: ensure mqtt max_payload is enforced and tests are included (#7555)

Description:
- add `TestMQTTMaxPayloadEnforced` into `server/mqtt_test.go`, reuse
existing helpers.
- ensure oversized MQTT publish now fails the connection check instead
of silently being accepted.
- keep `max_payload` violation handling consistent with other protocols
and replicate the bug described in
https://github.com/nats-io/nats-server/issues/7439

Tests:
- `go test ./server -run TestMQTTMaxPayloadEnforced -count=1 -v`

Signed-off-by: orician <2018783812@qq.com>

74995 of 87145 relevant lines covered (86.06%)

318504.93 hits per line

Source Files on job 19560257352.1
  • Tree
  • List 61
  • Changed 34
  • Source Changed 2
  • Coverage Changed 34
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 19560257352
  • b3f0c265 on github
  • Prev Job for on main (#19525901012.1)
  • Next Job for on main (#19590471550.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