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

grpc / grpc-java / #20191
89%

Build:
DEFAULT BRANCH: master
Ran 11 Mar 2026 05:31PM UTC
Jobs 1
Files 630
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

11 Mar 2026 05:19PM UTC coverage: 88.675% (-0.01%) from 88.687%
#20191

push

github

ejona86
core: Enable dns "caching" on Android

DnsNameResolver discards refresh requests if it has been too soon after
the last refresh, because the result is assumed to be identical to the
previous fetch. Android itself will adhere to the RR's TTL, so
requesting too frequently shouldn't have been causing too much I/O, but
it could be causing extra CPU usage. Having some lower limit will reduce
the number of useless address updates into the LB tree.

30 seconds is the same as regular Java and Go/C++ (which copied Java as
a "reasonable" value). Note that other languages _delay_ the refresh
instead of _discarding_ the refresh, but there's no reason why the
existing discard behavior would cause much problem on Android vs normal
Java. Chrome apparently uses 1 minute, so this really looks like it
shouldn't cause problems as long as AndroidChannelBuilder is being used.

35462 of 39991 relevant lines covered (88.67%)

0.89 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
47.62
-4.76% ../core/src/main/java/io/grpc/internal/PickSubchannelArgsImpl.java
1
87.6
-0.83% ../rls/src/main/java/io/grpc/rls/LinkedHashLruCache.java
4
91.9
-1.9% ../xds/src/main/java/io/grpc/xds/client/ControlPlaneClient.java
5
83.02
-9.43% ../core/src/main/java/io/grpc/internal/Http2Ping.java
15
91.67
0.0% ../core/src/main/java/io/grpc/internal/DnsNameResolver.java
Jobs
ID Job ID Ran Files Coverage
1 #20191.1 11 Mar 2026 05:31PM UTC 630
88.67
Source Files on build #20191
  • Tree
  • List 630
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20191
  • 0675f70a on github
  • Prev Build on master
  • Next Build on master
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