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

nats-io / gnatsd / 1357
91%
master: 91%

Build:
Build:
LAST BUILD BRANCH: remoteleaf
DEFAULT BRANCH: master
Ran 25 May 2017 11:15PM UTC
Jobs 1
Files 17
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

pending completion
1357

push

travis-ci

kozlovic
[FIXED] Shutdown stops http server when started manually

In case one creates a server instance with New() and then starts
the http server manually (s.StartHTTPMonitoring()), calling
s.Shutdown() would not stop the http server because Shutdown()
would return without doing anything if `running` was not true.
This boolean was set to true only in `s.Start()`.

Also added StartMonitoring() to perform the options check and
selectively start http or https server to replace individual calls.
This is useful for NATS Streaming server that will now be able
to call s.StartMonitoring() without having to duplicate code
about options checks and http server code.

This is related to PR #481

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

4931 of 5425 relevant lines covered (90.89%)

2820.61 hits per line

Jobs
ID Job ID Ran Files Coverage
2 1357.2 25 May 2017 11:15PM UTC 0
90.89
Travis Job 1357.2
Source Files on build 1357
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1357
  • 773b25af on github
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