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

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

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 15 Jul 2016 03:13PM UTC
Jobs 5
Files 42
Run time 10min
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
2251

push

travis-ci

prashantv
Fix flaky test TestResponseClosedBeforeRequest

On the writer side, the last flush of the "closeRequest" byte would fail
with "mex has been shutdown". The following sequence of events was
causing the issue:

 - Flush calls flushFragment, which sends a frame with the "closeRequest" byte
 - The remote side receives the byte, and closes the response
 - Sender receives the last response frame, and shuts down the mex
 - Original goroutine in Flush calls newFragment (since previous
   fragment) has been sent
 - newFragment fails since the mex has been shutdown

Since this is a valid sequence of events, we ignore the error from
Flush when writing out the closeRequest byte. This issue is unlikely
to happen in production, since the network calls to send and receive
frames should take longer than scheduling the goroutine running Flush.

3930 of 4475 relevant lines covered (87.82%)

18729.56 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2251.1 (TEST_TIMEOUT_SCALE=20) 15 Jul 2016 03:13PM UTC 0
86.7
Travis Job 2251.1
2 2251.2 (TEST_TIMEOUT_SCALE=20) 15 Jul 2016 03:23PM UTC 0
87.32
Travis Job 2251.2
3 2251.3 (TEST_TIMEOUT_SCALE=20) 15 Jul 2016 03:15PM UTC 0
85.72
Travis Job 2251.3
4 2251.4 (TEST_TIMEOUT_SCALE=20) 15 Jul 2016 03:14PM UTC 0
86.67
Travis Job 2251.4
5 2251.5 (TEST_TIMEOUT_SCALE=20) 15 Jul 2016 03:15PM UTC 0
86.14
Travis Job 2251.5
Source Files on build 2251
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2251
  • c4f994ff on github
  • Prev Build on flaky_responseclosed (#2250)
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