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

grpc / grpc-java / 22161
89%

Build:
DEFAULT BRANCH: master
Ran 12 May 2021 09:32PM UTC
Jobs 1
Files 446
Run time 15min
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
22161

push

travis-ci

web-flow
xds: eliminate test verification for nondeterministic behaviors (#8172)

When the ring_hash LB policy enters TRANSIENT_FAILURE, it tries to connect one of the IDLE subchannels. Which subchannel to be connected to is non-deterministic, it just choose the first one from the subchannels map.

The existing test creates 4 subchannels, brings down 2 of them to let ring_hash LB policy enter TRANSIENT_FAILURE. But which one fo the remaining two subchannels to be kicked off connection is nondeterministic. This introduces trouble for verifying the behavior. This change simplifies the test, to only create 3 subchannels so that there is only one single subchannel remaining in IDLE after bringing the other two down. We are able to easily verify the behavior of ring_hash LB policy requesting connection for that one subchannel.

27059 of 30729 relevant lines covered (88.06%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22161.1 (GRADLE_OPTS=-Xmx512m LDFLAGS=-L/tmp/protobuf/lib CXXFLAGS=-I/tmp/protobuf/include LD_LIBRARY_PATH=/tmp/protobuf/lib) 12 May 2021 09:32PM UTC 0
88.06
Travis Job 22161.1
Source Files on build 22161
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #22161
  • 2335eb5b on github
  • Prev Build on master (#22156)
  • Next Build on master (#22163)
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