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

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

Build:
Build:
LAST BUILD BRANCH: nooptrace
DEFAULT BRANCH: master
Ran 17 Nov 2016 09:47PM UTC
Jobs 2
Files 110
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
2463

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

5236 of 5849 relevant lines covered (89.52%)

1.89 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2463.3 (TYPE=test) 17 Nov 2016 09:47PM UTC 0
89.52
Travis Job 2463.3
4 2463.4 (TYPE=test) 17 Nov 2016 09:49PM UTC 0
89.52
Travis Job 2463.4
Source Files on build 2463
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2463
  • 09c0bb69 on github
  • Prev Build on peerList-part8-blockchoose (#2459)
  • Next Build on peerList-part8-blockchoose (#2483)
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