Improve reliability of PrefetchFlowTest
There are two problems addressed here: 1. Synchronization was missing in TestOfflinePageService.sendPushMessage 2. Recent changes relating to prefetch GCM defer the call to GetGCMToken, which in turn results in an exception when calling FakeInstanceIDWithSubtype.getSubtypeAndAuthorizedEntityOfOnlyToken. With these fixed, we (crosses fingers) can un-disable the test. Bug: 959733 Change-Id: Ibfd29de884813606ab73a6520c627a4214d52432 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600353Reviewed-by:Carlos Knippschild <carlosk@chromium.org> Commit-Queue: Dan H <harringtond@chromium.org> Cr-Commit-Position: refs/heads/master@{#657722}
Showing
Please register or sign in to comment