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

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

Build:
Build:
LAST BUILD BRANCH: delayed_frame_alloc
DEFAULT BRANCH: dev
Ran 14 Nov 2016 06:32PM UTC
Jobs 4
Files 42
Run time 52s
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
2745

push

travis-ci

prashantv
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.

47 of 47 new or added lines in 2 files covered. (100.0%)

4175 of 4795 relevant lines covered (87.07%)

11221.16 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
relay.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
100.0
fragmenting_writer.go
5
100.0
connection.go
6
100.0
mex.go
9
100.0
outbound.go
29
100.0
relay.go
39
100.0
channel.go
Jobs
ID Job ID Ran Files Coverage
1 2745.1 14 Nov 2016 06:32PM UTC 0
86.74
Travis Job 2745.1
2 2745.2 14 Nov 2016 06:32PM UTC 0
86.74
Travis Job 2745.2
3 2745.3 14 Nov 2016 06:32PM UTC 0
86.28
Travis Job 2745.3
4 2745.4 14 Nov 2016 06:33PM UTC 0
86.67
Travis Job 2745.4
Source Files on build 2745
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2745
  • 1fdf746d on github
  • Prev Build on relay_interface (#2742)
  • Next Build on relay_interface (#2750)
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