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

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

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 07 Jul 2017 03:49PM UTC
Files 108
Run time 9s
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

07 Jul 2017 03:41PM UTC coverage: 65.726%. First build
COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7

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>

15192 of 23114 relevant lines covered (65.73%)

0.71 hits per line

Source Files on job 345.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 345
  • Travis Job 345.2
  • 6b558a9f on github
  • Next Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on controller-shutdown (#346.2)
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