Fix the flaky unit tests IconInvalidationOnIconVersionUpdate.
The test case includes restarting ARC. However, the ARC apps are not removed from AppService AppRegistryCache, so when the ARC is restarted, the previous icon loading requests before ARC restart might affect the icon loading account. Modify the tests, when the ARC restart, remove the ARC apps saved in AppService AppRegistryCache, which is the consistent operation as running on Chromebook. Also add waiting icon loading operation after StartApp, because the icon loading operation might be slow. BUG=1115830 Change-Id: Icc7acdb49ca41232712b141db93e41645a2f1287 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2379432 Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Reviewed-by:Long Cheng <lgcheng@google.com> Cr-Commit-Position: refs/heads/master@{#803323}
Showing
Please register or sign in to comment