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

uber / tchannel-go / 2253 / 1
88%
dev: 88%

Build:
DEFAULT BRANCH: dev
Ran 15 Jul 2016 03:31PM UTC
Files 42
Run time 3s
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 Jul 2016 03:24PM UTC coverage: 85.832% (+0.3%) from 85.532%
TEST_TIMEOUT_SCALE=20

push

travis-ci

web-flow
Fix flaky test TestResponseClosedBeforeRequest (#438)

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.

3841 of 4475 relevant lines covered (85.83%)

3678.8 hits per line

Source Files on job 2253.1 (TEST_TIMEOUT_SCALE=20)
  • Tree
  • List 0
  • Changed 38
  • Source Changed 0
  • Coverage Changed 38
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2253
  • Travis Job 2253.1
  • 13c0e2de on github
  • Prev Job for TEST_TIMEOUT_SCALE=20 on dev (#2246.5)
  • Next Job for TEST_TIMEOUT_SCALE=20 on dev (#2259.5)
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