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

uber / tchannel-go / 1489
85%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 04 Apr 2016 07:14PM UTC
Jobs 4
Files 40
Run time 1min
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
1489

push

travis-ci

prashantv
Remove error log if onClosedConnRemoved does not find peer

If some peer P has multiple connections C1 and C2, and both close
at the same time, then we have the following sequence of events.
Each connection is running on a separate goroutine.

C1 calls connectionCloseStateChange, removes itself from the connections
list, and is scheduled out before onClosedConnRemoved

C2 calls connectionCloseStateChange, removes itself from the list
and runs onClosedConnRemoved, which will see that there's no connection
for this peer, and it can be safely removed. So it removes P from the
root peer list

C1 continues to run, goes into onClosedConnRemoved, but doesn't find
P in the root peer list, and logs an error.

Since this can happen and does not actually signify an error, we do not
need to log anything in this scenario.

3324 of 3905 relevant lines covered (85.12%)

8596.11 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1489.1 04 Apr 2016 07:14PM UTC 0
84.76
Travis Job 1489.1
2 1489.2 04 Apr 2016 07:15PM UTC 0
84.68
Travis Job 1489.2
3 1489.3 04 Apr 2016 07:15PM UTC 0
84.58
Travis Job 1489.3
4 1489.4 04 Apr 2016 07:16PM UTC 0
84.49
Travis Job 1489.4
Source Files on build 1489
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1489
  • 21d37a4b 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