commit | 27b22fc2e9be836ef662e1ac068238606a545a2c | [log] [tgz] |
---|---|---|
author | Inseob Kim <inseob@google.com> | Thu Sep 15 19:51:09 2022 +0900 |
committer | Inseob Kim <inseob@google.com> | Thu Sep 15 21:10:27 2022 +0900 |
tree | 43f98c279be8bc7712bcb82376f7175a46d0e56b | |
parent | 1dd273ad2823e28e4c834e9857887816722ed7a0 [diff] |
Make sure that runToFinish() returns after VM dies There is a gap between vm.stop() call to complete VM shutdown. So it could be the case that runToFinish() returns before VM dies, which may cause confusion. To ensure that, mExecutorService.shutdown() is now only called from onDied() callback. This also makes the test robust by implicitly checking whether onDied() is called or not. Bug: 238692795 Test: atest MicrodroidTests Change-Id: I4204ff443f3415c6795598c325e03b8bd8fc1f25
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.