commit | 67939818146edb4f1cf8cce32da2ca0eee8b0d30 | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Fri Mar 13 22:36:04 2020 +0000 |
committer | Zim <zezeozue@google.com> | Fri Mar 13 22:40:27 2020 +0000 |
tree | 1109a258b1f03330dac41a1aa7ecd57301490c5c | |
parent | c7425aaae922dea27b7b4cecc8aba74df6f985f1 [diff] |
Fix LegacyProviderMigrationTest Added 5s sleep after killing the MediaProvider (from clearing data). With FUSE, killing the MediaProvider causes a vold reset, and unmounts all volumes. This means that even if the MediaProvider is back up, the volumes may not be ready until a short while after. Hence, any ContentResolver requests will fail until the volumes are mounted. Test: atest LegacyProviderMigrationTest Bug: 148955744 Change-Id: Idb8cd9e16c9c92b3eaef36fc3934c6271b57bf0b