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

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

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 11 Jul 2017 11:13AM UTC
Files 108
Run time 4s
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

11 Jul 2017 11:03AM UTC coverage: 65.658% (+0.05%) from 65.61%
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>

15161 of 23091 relevant lines covered (65.66%)

0.71 hits per line

Source Files on job 357.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7)
  • Tree
  • List 0
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 357
  • Travis Job 357.2
  • 059c649a on github
  • Prev Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on controller-shutdown (#356.3)
  • Next Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on controller-shutdown (#358.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