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

go-kit / kit / 2203
51%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2018 11:52PM UTC
Jobs 2
Files 99
Run time 55s
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

22 Oct 2018 11:45PM UTC coverage: 79.391% (-0.01%) from 79.405%
2203

push

travis-ci

peterbourgon
Fix 'Client.Endpoint' to not 'cancel' when bufferedStream (#776)

* transport/http/client_test: Modify the test to make it fail

With this modifications we can trigger the error that we are searching, 'context canceled'

* transport/http/client: Add the 'bodyWithCancel' to wrap the Response.Body

It adds the context.CancelFunc to the io.ReadCloser.Close function so bouth are called together

* transport/http/client: Add more documentation to clarify the changes

Also abstracted some logic on the test to make it more clear and also added more docuemntation. Added more documentation
on the definition of 'BufferedStream' to clarify that the Body has to be closed manually to properly close the response.

* transport/http/client: Add period at the end of the doc of 'BufferedStream'

12 of 12 new or added lines in 1 file covered. (100.0%)

5293 of 6667 relevant lines covered (79.39%)

147435.49 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2203.1 (COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp) 22 Oct 2018 11:52PM UTC 0
79.39
Travis Job 2203.1
2 2203.2 (COVERALLS_TOKEN=MYSkSqcsWXd6DmP6TnSeiDhtvuL4u6ndp) 22 Oct 2018 11:53PM UTC 0
79.27
Travis Job 2203.2
Source Files on build 2203
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2203
  • ec0cc13a on github
  • Prev Build on master (#2200)
  • Next Build on master (#2206)
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