commit | 128630ffd0cd73737df736a39e4ded2c6064d13c | [log] [tgz] |
---|---|---|
author | Toni Barzic <tbarzic@chromium.org> | Fri Feb 15 00:04:16 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 15 00:04:16 2019 |
tree | 0d488ace8295b9bcdb9890ec32bdf68a1806dc14 | |
parent | a46234c952a62f8cb47a716b82aa733987a95a89 [diff] |
Fix flaky AutoLaunchedKioskTest.CrashRestore The test was timing out waiting for a message from the test app. The problem was that in CrashRestore test, the app launch is expected to happen early on, during chrome session set up - before the test main part is run, and when the TestExtensionMessageListener is registered. This CL moves extension message listener registration earlier in the browser test setup (note that SetUpOnMainThread might be too late, while SetUp is too early as message loop is not yet initialized). BUG=930345 TEST=Ran the test with gtest_repeat=20, with no failures Change-Id: I12c8d40fc52270492723a14b764a9cc7e3a619a6 Reviewed-on: https://chromium-review.googlesource.com/c/1474794 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Toni Baržić <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/master@{#632408}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .