mirror of https://github.com/grpc/grpc-java.git
563baa4a20
The value of nodeCount depended on deadlines expiring after the chain was constructed. This is effectively the same as using Thread.sleep() and would commonly fail if the machine was under load. Instead of checking nodeCount after the deadline expires, we now wait for the chain to be constructed and then cancel the RPC. This also ensures that the cancel propagates instead of each hop just enforcing the deadline. As a bonus, this also reduces test execution time by one second. A new test was added for deadline propagation. Fixes #1852 |
||
---|---|---|
.. | ||
src | ||
build.gradle |