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

nats-io / nats-server / 3537
91%
main: 83%

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

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

5 of 5 new or added lines in 1 file covered. (100.0%)

15385 of 16923 relevant lines covered (90.91%)

77648.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3537.1 (GO111MODULE=off) 31 May 2019 12:57AM UTC 0
90.91
Travis Job 3537.1
Source Files on build 3537
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3537
  • Pull Request #1027
  • PR Base - master (#3535)
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