commit | afadec8e456af2b67f415f769192ff07f4d0f249 | [log] [tgz] |
---|---|---|
author | Steven Moreland <smoreland@google.com> | Wed Feb 17 22:15:27 2021 +0000 |
committer | Steven Moreland <smoreland@google.com> | Thu Feb 18 00:06:28 2021 +0000 |
tree | 32fb0d3be09483fbb548c7ae1a05658c2d05f871 | |
parent | d43bdaa8f6890101a3e0c1a67e20625dd4196a7c [diff] |
AIDL test Java: getService -> waitForService getService is racing with registration of services, especially for Java clients, since in the Java backend, getService does not wait 5s for services to appear (like it does for other backends). This means, if it fails, we'll get timeout instead of a failure. We could use a constant timeout here, but I've never had a problem with waiting indefinitely in HIDL tests - it's flake proof! If there is a server crash causing a timeout, it should be easy to repro locally. Fixes: 179698026 Test: (runs for a long time w/o repro) while ./tests/aidl_integration_test.py; do adb logcat -c; done Change-Id: I04ee9e87806fa4c5a3f90083e15a6d3c7cb4998d
Documentation for this project is currently maintained here:
https://source.android.com/devices/architecture/aidl/overview