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

nats-io / nats-server / 19590471550 / 1
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 22 Nov 2025 05:49AM UTC
Files 61
Run time 3s
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.074% (+0.02%) from 86.058%
19590471550.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>

75009 of 87145 relevant lines covered (86.07%)

344801.68 hits per line

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