|
Ran
|
Files
658
|
Run time
36s
|
Badge
README BADGES
|
push
github
core: Fix pick_first NPE when accepting resolved addresses and in `CONNECTING` state (#12814) This PR resolves #12796. It makes sure that whenever `PickFirstLeafLoadBalancer` transitions into `CONNECTING` the current address in the `addressIndex` has a corresponding subchannel. This prevents an NPE when hitting https://github.com/grpc/grpc-java/blob/86fa86063/core/src/main/java/io/grpc/internal/PickFirstLeafLoadBalancer.java#L143-L154 in `acceptResolvedAddresses` in some situations. Note that for `READY`, a state from which this path can also be entered, this is already guaranteed.
36475 of 41049 relevant lines covered (88.86%)
0.89 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|