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

dedis / onet / 1376
64%
master: 66%

Build:
Build:
LAST BUILD BRANCH: test_go_1_17
DEFAULT BRANCH: master
Ran 15 Feb 2018 07:41AM UTC
Jobs 1
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

pending completion
1376

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

Jobs
ID Job ID Ran Files Coverage
1 1376.1 15 Feb 2018 07:41AM UTC 0
63.58
Travis Job 1376.1
Source Files on build 1376
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1376
  • 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