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

01org / ciao / 271 / 1
65%
master: 66%

Build:
Build:
LAST BUILD BRANCH: topic/config-subnet-bits
DEFAULT BRANCH: master
Ran 28 Nov 2016 11:42PM UTC
Files 91
Run time 5s
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

28 Nov 2016 10:24PM UTC coverage: 65.082% (-0.2%) from 65.239%
COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7

push

travis-ci

kaccardi
ciao-controller: datastore: do not use defer to unlock mutex in AddPool()

In the error path for AddPool(), we need to delete the added pool
if there was a failure. This function does it's own locking of the
pools mutex, so in order to ensure that we don't deadlock, we need
to first unlock the mutex prior to calling. Because of that, we cannot
use a defer on the Unlock() call. Remove the defer statement, and
add the explicit Unlock() call to all the error paths in the AddPool()
function.

Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>

13166 of 20230 relevant lines covered (65.08%)

0.7 hits per line

Source Files on job 271.1 (COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7)
  • Tree
  • List 0
  • Changed 10
  • Source Changed 3
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 271
  • Travis Job 271.1
  • 517cd98a on github
  • Prev Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on topic/combined-external-ips (#266.2)
  • Next Job for COVERALLS_TOKEN=mwTn1pOFqEOUT13vylZNHq53NanoMznO7 on topic/combined-external-ips (#278.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