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

masterzen / winrm / 161
83%
master: 81%

Build:
Build:
LAST BUILD BRANCH: bugfix/77-fix-race-condition
DEFAULT BRANCH: master
Ran 24 Feb 2018 03:57PM UTC
Jobs 6
Files 15
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
161

push

travis-ci

masterzen
Fix #77 - fix RunWithString race condition

This doesn't happen with Go < 1.10, but there was a race condition in
`RunWithString` and `RunWithInput` which had already been fixed in `Run`.
It was possible for the function to return while the `stdout` or `stderr`
copy was still in progress. Since `bytes.Buffer` is not thread safe, the
`outwriter.String()` could see an intermediate buffer state while it
was growing, leading to strange results.

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

734 of 888 relevant lines covered (82.66%)

52.47 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
client.go
Jobs
ID Job ID Ran Files Coverage
1 161.1 24 Feb 2018 03:57PM UTC 0
82.66
Travis Job 161.1
2 161.2 24 Feb 2018 03:57PM UTC 0
82.66
Travis Job 161.2
3 161.3 24 Feb 2018 03:57PM UTC 0
82.66
Travis Job 161.3
4 161.4 24 Feb 2018 03:58PM UTC 0
82.66
Travis Job 161.4
5 161.5 24 Feb 2018 03:57PM UTC 0
82.66
Travis Job 161.5
6 161.6 24 Feb 2018 03:58PM UTC 0
82.66
Travis Job 161.6
Source Files on build 161
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #161
  • 8934d578 on github
  • Prev Build on bugfix/77-fix-race-condition (#159)
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