commit | dee92b33abbc971ac221cdee1bbc694ca7875771 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Wed Aug 11 21:31:39 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Wed Aug 11 21:31:39 2021 +0900 |
tree | f142d3a130c3dfc3737913044539b2d719ac7dd3 | |
parent | 6cebcff3b9c5e429181bc9fdf2d8c2f605bec81f [diff] |
Fix flake Microdroid tests have been flaky. One of the reasons is due to a race condition. The adb connection to microdroid is established, but microdroid hasn't finished the boot procedure. The test code runs and checks the various assertions on the microdroid which is still booting. Fix the flake by waiting until the boot procedure is finished. This is done by monitoring the system property `init.svc.logd-reinit` which gets a value when the `logd-reinit` service is started. The service is started at the very end of the boot procedure. Bug: 196015443 Test: monitor TH Change-Id: I631f47046d6ea103019cf7c6f389d10f1d13fe99
This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.