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

uber / tchannel-go / 2225
88%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 07 Jul 2016 08:09PM UTC
Jobs 5
Files 42
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
2225

push

travis-ci

prashantv
Fix flaky test TestPeerRemoveClosedConnection

Test was failing with:
    <autogenerated>:10: Unexpected log: [Warn]: Failed to add connection
    to peer [{service testService} {process testService-52687} {hostPort
    127.0.0.1:52687} {connID 418} {localAddr 127.0.0.1:52687}
    {remoteAddr 127.0.0.1:54541} {remoteHostPort 127.0.0.1:54541}
    {direction inbound} {error tchannel error ErrCodeNetwork: connection
    is in an invalid state}]

The sequence of events was:
p1 creates a connection c1 to p2
once connection is successful, p1 closes c1

On the remote side, p2 has responded to c1 and is about to
mark it active, but the network connection gets closed before
it has been added to the peer's list. When p2 resumes adding
the connection to the peer list, it's now closed due to the underlying
network connection being closed.

We can fix this issue by issuing a ping, which will ensure that the
remote side has processed the connection and has added it to the
peer list before closing the connection.

3922 of 4475 relevant lines covered (87.64%)

18786.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2225.1 (TEST_TIMEOUT_SCALE=20) 07 Jul 2016 08:09PM UTC 0
86.61
Travis Job 2225.1
2 2225.2 (TEST_TIMEOUT_SCALE=20) 07 Jul 2016 08:10PM UTC 0
87.1
Travis Job 2225.2
3 2225.3 (TEST_TIMEOUT_SCALE=20) 07 Jul 2016 08:11PM UTC 0
86.8
Travis Job 2225.3
4 2225.4 (TEST_TIMEOUT_SCALE=20) 07 Jul 2016 08:09PM UTC 0
86.28
Travis Job 2225.4
5 2225.5 (TEST_TIMEOUT_SCALE=20) 07 Jul 2016 08:10PM UTC 0
86.32
Travis Job 2225.5
Source Files on build 2225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2225
  • bc5fc544 on github
  • Prev Build on flaky_peer_remove_closed (#2224)
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