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

uber-go / zap / 331
100%
master: 97%

Build:
Build:
LAST BUILD BRANCH: license
DEFAULT BRANCH: master
Ran 27 Jul 2016 03:02PM UTC
Jobs 3
Files 15
Run time 2min
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
331

push

travis-ci

prashantv
Support concurrent logging to a single WriteSyncer

Currently, the WriteSyncer assumes the underlying Writer will support
concurrent Writes correctly. However, this is not true for common
io.Writer implementations:
 - *os.File may call the write syscall multiple times
 - *bytes.Buffer does not support concurrent writes at all

Instead, we will wrap all passed in WriteSyncers in a lockedWriteSyncer
which will use a mutex to serialize calls to the underlying WriteSyncer.

In future, we may want to expose a way of setting a WriteSyncer that
already supports concurrent calls, but since most common implementations
cannot handle concurrent writes correctly, locking the writer seems like
a simpler default.

19 of 19 new or added lines in 3 files covered. (100.0%)

563 of 563 relevant lines covered (100.0%)

33531.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 331.1 27 Jul 2016 03:02PM UTC 0
100.0
Travis Job 331.1
2 331.2 27 Jul 2016 03:01PM UTC 0
100.0
Travis Job 331.2
3 331.3 27 Jul 2016 03:04PM UTC 0
100.0
Travis Job 331.3
Source Files on build 331
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #331
  • 56f315d8 on github
  • Next Build on pv_concurrent_write (#335)
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