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

uber / tchannel-go / 2751
87%
dev: 88%

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 14 Nov 2016 07:44PM UTC
Jobs 4
Files 42
Run time 57s
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
2751

Pull #535

travis-ci

web-flow
relay: Refactor hosts/stats interface

This refactor does not make any logical changes to the code -- although
it does allow for relay to now forward frames across channels by
returning a peer from a separate channel.

The new interface combines the peer selection and stats interface into a
single RelayCall interface that returns a *Peer rather than a
relay.Peer.

Some advantages of this approach:
 - Avoids a map lookup for converting host:port to *Peer
 - Allows returning peers from separate channels
   This allows our Hyperbahn emulation code to significantly reduce the
   number of channels we will need.
 - No more passing around Zone/Pool in tchannel which does not need to
   know about these concepts.
Pull Request #535: relay: Refactor hosts/stats interface

54 of 54 new or added lines in 3 files covered. (100.0%)

4181 of 4796 relevant lines covered (87.18%)

11058.88 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
relay.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
100.0
root_peer_list.go
6
100.0
mex.go
Jobs
ID Job ID Ran Files Coverage
1 2751.1 14 Nov 2016 07:44PM UTC 0
86.95
Travis Job 2751.1
2 2751.2 14 Nov 2016 07:44PM UTC 0
86.61
Travis Job 2751.2
3 2751.3 14 Nov 2016 07:44PM UTC 0
86.53
Travis Job 2751.3
4 2751.4 14 Nov 2016 07:44PM UTC 0
86.47
Travis Job 2751.4
Source Files on build 2751
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2751
  • Pull Request #535
  • PR Base - relay_err_alloc (#2743)
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

© 2025 Coveralls, Inc