Try to fix flaky ExtensionRequestNotificationTest.NoExtension
Round II EXPECT_DEATH tests are executed in a sub-process. However, this doesn't work with the BrowserWithTestWindowTest which requires access to the global |g_browser_process| instance. Running in a sub-process causes crash during SetUp(). The test was passed as EXPECT_DEATH can catch the crash inside SetUp() but it didn't check the crash error message. There is no good way to solve this issue, hence only run the NoExtension test while DCHECK is off and no longer verify any DCHECK failure. Bug: 1137094 Change-Id: I59a9eb4ab0c6283194dbd80f8f1afec15410def0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2643629 Commit-Queue: Owen Min <zmin@chromium.org> Reviewed-by:Julian Pastarmov <pastarmovj@chromium.org> Cr-Commit-Position: refs/heads/master@{#846263}
Showing
Please register or sign in to comment