You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix racy response leak check in gRPC ProtocolCompatibilityTest (#3360)
Motivation:
#3354 introduced `ProtocolCompatibilityTest.ResponseLeakValidator`.
However, the test thread that asserts `pendingRequests` counter can race
with `GrpcUtils.validateResponseAndGetPayload` logic for Trailers-Only
response draining that executes inside `afterOnError` callback.
Modifications:
- Use `CountDownLatch` to ensure all new requests were terminated.
Result:
Fixes#3356
0 commit comments