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

yarpc / yarpc-go / 2449
90%
master: %

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 16 Nov 2016 08:04PM UTC
Jobs 2
Files 109
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
2449

push

travis-ci

willhug
[PeerList][Part 8] Block the ChoosePeer function when there is no peer available

Summary: This diff changes the functionality of ChoosePeer to block
until either:

1) A new Peer is added to the list
2) The context deadline is passed (if there is no context deadline
return an error immediately)

This is done using a channel of size one on the roundrobin that will get
filled when a new "add" is run on the peerList. Since the add could
already be filled, the checking/waiting functionality is run in a loop

5239 of 5859 relevant lines covered (89.42%)

1.89 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2449.3 (TYPE=test) 16 Nov 2016 08:04PM UTC 0
89.42
Travis Job 2449.3
4 2449.4 (TYPE=test) 16 Nov 2016 08:05PM UTC 0
89.42
Travis Job 2449.4
Source Files on build 2449
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2449
  • e8344cab on github
  • Prev Build on peerList-part8-blockchoose (#2448)
  • Next Build on peerList-part8-blockchoose (#2459)
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