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

grpc / grpc-java / #18720
89%

Build:
DEFAULT BRANCH: master
Ran 16 Jul 2023 08:11PM UTC
Jobs 1
Files 550
Run time 6s
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
#18720

push

github-actions

web-flow
xds: Encode the service authority in XdsNameResolver (#10207)

Encode the service authority before passing it into gRPC util in the xDS name resolver to handle xDS requests which might contain multiple slashes. Example: xds:///path/to/service:port.

As currently the underlying Java URI library does not break the encoded authority into host/port correctly simplify the check to just look for '@' as we are only interested in checking for user info to validate the authority for HTTP.

This change also leads to few changes in unit tests that relied on this check for invalid authorities which now will be considered valid.

Just like #9376, depending on Guava packages such as URLEscapers or PercentEscapers leads to internal failures(Ex: Unresolvable reference to com.google.common.escape.Escaper from io.grpc.internal.GrpcUtil). To avoid these issues create an in house version that is heavily inspired by grpc-go/grpc.

30655 of 34740 relevant lines covered (88.24%)

0.88 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
90.63
-3.13% ../netty/src/main/java/io/grpc/netty/ClientTransportLifecycleManager.java
2
93.27
-0.21% ../core/src/main/java/io/grpc/internal/ManagedChannelImpl.java
2
78.95
-2.11% ../okhttp/src/main/java/io/grpc/okhttp/ExceptionHandlingFrameWriter.java
5
83.02
-9.43% ../core/src/main/java/io/grpc/internal/Http2Ping.java
16
90.88
0.92% ../core/src/main/java/io/grpc/internal/GrpcUtil.java
25
94.92
0.01% ../xds/src/main/java/io/grpc/xds/XdsNameResolver.java
Jobs
ID Job ID Ran Files Coverage
1 #18720.1 16 Jul 2023 08:11PM UTC 550
88.24
Source Files on build #18720
  • Tree
  • List 550
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Build #18720
  • ac35ab67 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

© 2025 Coveralls, Inc