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

nats-io / nats-server / 3537 / 1
91%
main: 82%

Build:
Build:
LAST BUILD BRANCH: fix_code_coverage
DEFAULT BRANCH: main
Ran 31 May 2019 12:57AM UTC
Files 27
Run time 1s
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

31 May 2019 12:51AM UTC coverage: 90.912% (-0.07%) from 90.978%
GO111MODULE=off

Pull #1027

travis-ci

web-flow
Fixed race due to use of byte slice instead of string

The go routine that is started during interest mode switch was
using the accName (which was a byte slice) instead of account,
which was a string copy of that byte slice. It meant that when
printing the notice, the underlying buffer may have be overwriten
by the readloop.

Changing accName to a string - since we were doing a copy anyway,
better change it at the function param level.

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
Pull Request #1027: Fixed race due to use of byte slice instead of string

15385 of 16923 relevant lines covered (90.91%)

77648.37 hits per line

Source Files on job 3537.1 (GO111MODULE=off)
  • Tree
  • List 0
  • Changed 20
  • Source Changed 1
  • Coverage Changed 20
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 136
  • Travis Job 3537.1
  • aaf643e3 on github
  • Prev Job for GO111MODULE=off on fix_gw_race (#3535.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