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

dedis / onet / 1376 / 1
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: test_go_1_17
DEFAULT BRANCH: master
Ran 15 Feb 2018 07:41AM UTC
Files 47
Run time 37min
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

15 Feb 2018 07:33AM UTC coverage: 63.58%. First build
1376.1

push

travis-ci

jeffallen
Remove race condition in message dispatcher

Code of the form "if len(chan)==0 { send }" is racy because two
goroutines could observe len == 0, and then both try to send. One
will block when it expected to not do so. Replace with a select
to correctly implement the desired behavior that the two goroutines
end up not blocked, and the channel ends up with one value on it.

We have not seen any indication this is causing a bug, but
leaving racy code around is asking for trouble.

Also: Make a flaky test stop failing, since the thing it is
checking is not very important. When this test runs against the
"local" router, it never fails, indicating that this is
a benign race in the TCP implementation, not in our Router.

Fixes #305.

4525 of 7117 relevant lines covered (63.58%)

67.77 hits per line

Source Files on job 1376.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 1376
  • Travis Job 1376.1
  • 7c0e1b13 on github
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