commit | 76d2c1f066b1c2320d37c703b231d458b5fd224b | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed May 05 20:28:58 2021 +0000 |
committer | Steven Moreland <smoreland@google.com> | Tue May 11 01:26:16 2021 +0000 |
tree | 6e0b0093acf7528c6a20f899affbfc207dbd4812 | |
parent | bd5002b57ce855d1467cc647ea788dc9b56502d0 [diff] |
libbinder: RPC fixup retry logic By always reading from the pipe in the test, we can ensure we only try to connect to a server once it's started. After this, additional retry logic is unneeded. Bug: 185167543 Test: binderRpcTest Test: binderRpcTest (after introducing 100ms sleep before 'accept4' in RpcServer to simulate a server that is busy doing something else or busy accepting other calls from other clients) Change-Id: I9b5b2876aa74e6ef1b6e8edc4c25124c29446b86