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

grpc / grpc-java / 21904
89%

Build:
DEFAULT BRANCH: master
Ran 12 Apr 2021 10:11PM UTC
Jobs 1
Files 442
Run time 49s
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
21904

push

travis-ci

web-flow
xds: reduce the size of ring for testing pick distributions (#8079)

In the ring hash LB policy, building the ring is computationally heavy. Although using a larger ring can make the RPC distribution closer to the actual weights of hosts, it takes long time to finish the test.

Internally, each test class is expected to finish within 1 minute, while each of the test cases for testing pick distribution takes about 30 sec. By reducing the ring size by a factor of 10, the time spent for those test cases reduce to 1-2 seconds. Now we need larger tolerance for the distribution (three hosts with weights 1:10:100):

- With a ring size of 100000, the 10000 RPCs distribution is close to 91 : 866 : 9043
- With a ring size of 10000, the 10000 RPCs distribution is close to 104 : 808 : 9088

Roughly, this is still acceptable.

26980 of 30610 relevant lines covered (88.14%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 21904.1 (GRADLE_OPTS=-Xmx512m LDFLAGS=-L/tmp/protobuf/lib CXXFLAGS=-I/tmp/protobuf/include LD_LIBRARY_PATH=/tmp/protobuf/lib) 12 Apr 2021 10:11PM UTC 0
88.14
Travis Job 21904.1
Source Files on build 21904
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #21904
  • d4fa0ecc on github
  • Prev Build on master (#21882)
  • Next Build on master (#21927)
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