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

grpc / grpc-java / #18929
89%

Build:
DEFAULT BRANCH: master
Ran 06 Dec 2023 10:24AM UTC
Jobs 1
Files 552
Run time 32s
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

06 Dec 2023 10:13AM UTC coverage: 88.247% (-0.01%) from 88.261%
#18929

push

github

web-flow
Handle slow security policies without blocking gRPC threads. (#10633)

* Handle slow security policies without blocking gRPC threads.

- Introduce PendingAuthListener to handle a ListenableFuture<Status>, progressing the gRPC through each stage in sequence once the future completes and is OK.
- Move unit tests away from `checkAuthorizationForService` and into `checkAuthorizationForServiceAsync` since that should be the only method called in production now.
- Some tests in `ServerSecurityPolicyTest` had their expectations updated; they previously called synchornous APIs that transformed failed `ListenableFuture<Status>` into one or another status. Now, we call the sync API, so those transformations do not happen anymore, thus the test needs to deal with failed futures directly.
- I couldn't figure out if this PR needs extra tests. AFAICT `BinderSecurityTest` should already cover the new codepaths, but please let me know otherwise.

30905 of 35021 relevant lines covered (88.25%)

0.88 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #18929.1 06 Dec 2023 10:24AM UTC 0
88.25
Source Files on build #18929
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #18929
  • a0538898 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