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

openzipkin / zipkin-go / 540
73%

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2019 07:53AM UTC
Jobs 5
Files 129
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
540

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>

4911 of 7501 relevant lines covered (65.47%)

23398.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 540.1 23 Sep 2019 07:55AM UTC 0
75.43
Travis Job 540.1
2 540.2 23 Sep 2019 07:53AM UTC 0
81.46
Travis Job 540.2
3 540.3 (GO111MODULE=on) 23 Sep 2019 07:53AM UTC 0
60.65
Travis Job 540.3
4 540.4 (GO111MODULE=on) 23 Sep 2019 07:53AM UTC 0
60.65
Travis Job 540.4
5 540.5 (GO111MODULE=on) 23 Sep 2019 07:56AM UTC 0
60.65
Travis Job 540.5
Source Files on build 540
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #540
  • c29478e5 on github
  • Prev Build on master (#539)
  • Next Build on master (#541)
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