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

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

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 15 Jul 2016 03:23PM 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:04PM UTC coverage: 87.323% (+0.8%) from 86.512%
TEST_TIMEOUT_SCALE=20

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.

3878 of 4441 relevant lines covered (87.32%)

3836.22 hits per line

Source Files on job 2251.2 (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 2251
  • Travis Job 2251.2
  • c4f994ff on github
  • Prev Job for TEST_TIMEOUT_SCALE=20 on flaky_responseclosed (#2250.2)
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