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

openzipkin / zipkin-go / 546
73%

Build:
DEFAULT BRANCH: master
Ran 01 Oct 2019 07:57AM UTC
Jobs 3
Files 60
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

15 Sep 2019 03:41PM UTC coverage: 60.653% (-7.6%) from 68.24%
546

cron

travis-ci

jcchavezs
Fix HTTP reporter potential unbounded goroutine creation (#146)

* Fix HTTP reporter potential unbounded goroutine creation

Currently the HTTP reporter spawns a new goroutine each time a new batch needs
to be sent to the server. Execution of those goroutines gets serialized through
the `sendMtx`.

This behavior is problematic when the zipkin server is down and leads to
creation of unbounded number of goroutines each of which will wait for its turn
on the `sendMtx` and then fail.

Fix this by creating one send goroutine to handle sending data to the server.
This also removes the need for the `sendMtx` since `sendBatch` will only be
called by the send goroutine.

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>

* Add more HTTP reporter test cases

Add HTTP reporter test cases for BatchInterval() and BatchSize() options
behavior.

Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>

2044 of 3370 relevant lines covered (60.65%)

14967.24 hits per line

Jobs
ID Job ID Ran Files Coverage
3 546.3 (GO111MODULE=on) 01 Oct 2019 07:57AM UTC 0
60.65
Travis Job 546.3
4 546.4 (GO111MODULE=on) 01 Oct 2019 07:57AM UTC 0
60.65
Travis Job 546.4
5 546.5 (GO111MODULE=on) 01 Oct 2019 07:59AM UTC 0
60.65
Travis Job 546.5
Source Files on build 546
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #546
  • c29478e5 on github
  • Prev Build on master (#545)
  • Next Build on master (#547)
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