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

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

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 11 Jul 2017 11:43AM UTC
Jobs 3
Files 108
Run time 3min
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
358

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>

15165 of 23096 relevant lines covered (65.66%)

2.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 358.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 11 Jul 2017 11:43AM UTC 0
65.64
Travis Job 358.1
2 358.2 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 11 Jul 2017 11:43AM UTC 0
65.63
Travis Job 358.2
3 358.3 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7) 11 Jul 2017 11:46AM UTC 0
65.63
Travis Job 358.3
Source Files on build 358
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #358
  • c8f86d86 on github
  • Prev Build on controller-shutdown (#357)
  • Next Build on controller-shutdown (#359)
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