summaryrefslogtreecommitdiff
path: root/libs/gui/LayerState.cpp
diff options
context:
space:
mode:
author Andrei Homescu <ahomescu@google.com> 2023-03-21 23:28:33 +0000
committer Andrei Homescu <ahomescu@google.com> 2023-03-21 23:32:19 +0000
commit4bea2177b3cc97908da3d04b703e3d896e63da25 (patch)
treed71630802eaa0b39ac6cfb9844634e30390e9440 /libs/gui/LayerState.cpp
parent4407bc1e3a473f7c6c7beaef61b5862c67640e58 (diff)
RPC Binder: Retry Trusty connections several times
Sometimes the restarting of the Trusty service races with tipc_connect, causing the latter to return -ENOTCONN since the service has not come up yet. This puts the connection attempts in a loop and retry them up to 5 times, sleeping for a short duration between attempts. Should make binderRpcToTrustyTest a lot less flaky. Bug: 230135749 Test: run binderRpcToTrustyTest several times Change-Id: I2c4e8dfe929535dbb77b5af3c677e5d27f00f50e
Diffstat (limited to 'libs/gui/LayerState.cpp')
0 files changed, 0 insertions, 0 deletions