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

openzipkin / zipkin-go / 534
73%

Build:
DEFAULT BRANCH: master
Ran 15 Sep 2019 03:44PM UTC
Jobs 5
Files 39
Run time 3min
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
534

push

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>

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

1845 of 2446 relevant lines covered (75.43%)

17894.08 hits per line

Jobs
ID Job ID Ran Files Coverage
1 534.1 15 Sep 2019 03:47PM UTC 0
75.43
Travis Job 534.1
2 534.2 15 Sep 2019 03:44PM UTC 0
81.46
Travis Job 534.2
3 534.3 (GO111MODULE=on) 15 Sep 2019 03:45PM UTC 0
60.65
Travis Job 534.3
4 534.4 (GO111MODULE=on) 15 Sep 2019 03:44PM UTC 0
60.65
Travis Job 534.4
5 534.5 (GO111MODULE=on) 15 Sep 2019 03:47PM UTC 0
60.65
Travis Job 534.5
Source Files on build 534
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #534
  • c29478e5 on github
  • Prev Build on master (#533)
  • Next Build on master (#536)
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