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

01org / ciao / 345
66%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 07 Jul 2017 03:48PM UTC
Jobs 3
Files 108
Run time 1min
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
345

push

travis-ci

rbradford
ciao-controller: Perform graceful shutdown on SIGINT/SIGTERM

This change modifies controller to shutdown gracefully upon reception of
the SIGTERM or SIGINT signals. It does this by modifying the HTTP
servers for API entry points to use the new Go 1.8 http.Server
interface. When each server is created it is added to a slice controlled
by controller. Upon reception of a signal the Shutdown() function on
each server is called resulting in the ListenAndServeTLS() functions
returning. When all active server goroutines are completed the Wait() on
WaitGroup returns and controller shutdown code can execute.

Fixes: #1326

Signed-off-by: Rob Bradford <robert.bradford@intel.com>

15195 of 23114 relevant lines covered (65.74%)

2.13 hits per line

Jobs
ID Job ID Ran Files Coverage
2 345.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 07 Jul 2017 03:49PM UTC 0
65.73
Travis Job 345.2
3 345.3 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 07 Jul 2017 03:48PM UTC 0
65.7
Travis Job 345.3
4 345.4 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 07 Jul 2017 03:50PM UTC 0
65.71
Travis Job 345.4
Source Files on build 345
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #345
  • 6b558a9f on github
  • Next Build on controller-shutdown (#346)
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