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

lightningnetwork / lnd / 741
65%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2017 12:25PM UTC
Jobs 2
Files 64
Run time 10s
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
741

push

travis-ci

Roasbeef
chainntnfs/btcdnotify: fix race condition for block epoch clients

This commit fixes a race condition that was introduced while fixing a
lingering bug in the logic to notify block epoch clients. The race
condition would happen as by removing the default case in the select
statement, it was now possible for the client’s block epoch client to
be closed while the routine was attempting a send on it.

We now eliminate this race condition possibility by adding a wait group
to all goroutines launched to dispatch a block epoch notification. With
this modification, the Stop() goroutine will now wait for all other
goroutine to exit before closing the block epoch channels of all
currently registered clients.

7649 of 11090 relevant lines covered (68.97%)

8988.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 741.1 04 Apr 2017 12:25PM UTC 0
68.97
Travis Job 741.1
2 741.2 04 Apr 2017 12:25PM UTC 0
68.96
Travis Job 741.2
Source Files on build 741
  • List 0
  • Changed 6
  • Source Changed 5
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #741
  • 419c2ac2 on github
  • Prev Build on master (#720)
  • Next Build on master (#742)
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

© 2025 Coveralls, Inc