Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Issue 1442593002: The AllUrlsApiTest.WhitelistedExtension test should no longer flake. (Closed)

Created:
5 years, 1 month ago by Alexander Dunaev
Modified:
5 years ago
Reviewers:
Finnur
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

The AllUrlsApiTest.WhitelistedExtension test should no longer flake. The test had begun to hang after the refactoring that changed the way the extensions are loaded and reloaded. As a result of that refactoring, the test loaded the pages and tried to get some response from the extensions before they had time to reload. This change introduces waiting for the extensions reload, so the test should no longer flake. BUG=174341 R=finnur@chromium.org Committed: https://crrev.com/454083864ede93660c2f08cf7d0e06ca10013c0d Cr-Commit-Position: refs/heads/master@{#359537}

Patch Set 1 #

Total comments: 2

Patch Set 2 : The review issue is addressed. #

Patch Set 3 : The WhitelistedExtensionRunsOnExtensionPages test is enabled. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -15 lines) Patch
M chrome/browser/extensions/all_urls_apitest.cc View 1 2 3 chunks +35 lines, -15 lines 0 comments Download

Messages

Total messages: 28 (9 generated)
Alexander Dunaev
5 years, 1 month ago (2015-11-12 09:57:06 UTC) #1
Alexander Dunaev
5 years, 1 month ago (2015-11-12 10:08:55 UTC) #3
Finnur
Ooh, thanks for fixing the test! :) LGTM, with a couple of nits. https://codereview.chromium.org/1442593002/diff/1/chrome/browser/extensions/all_urls_apitest.cc File ...
5 years, 1 month ago (2015-11-12 15:27:19 UTC) #4
Alexander Dunaev
On 2015/11/12 15:27:19, Finnur wrote: > Ooh, thanks for fixing the test! :) > > ...
5 years, 1 month ago (2015-11-13 04:13:18 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442593002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442593002/20001
5 years, 1 month ago (2015-11-13 04:14:23 UTC) #8
commit-bot: I haz the power
The author voodoo@yandex-team.ru has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 1 month ago (2015-11-13 04:14:25 UTC) #10
Alexander Dunaev
Looks like the WhitelistedExtensionRunsOnExtensionPages test can be enabled as well; doing so in the update.
5 years, 1 month ago (2015-11-13 05:14:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442593002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442593002/40001
5 years, 1 month ago (2015-11-13 05:15:54 UTC) #14
commit-bot: I haz the power
The author voodoo@yandex-team.ru has not signed Google Contributor License Agreement. Please visit https://cla.developers.google.com to sign ...
5 years, 1 month ago (2015-11-13 05:15:55 UTC) #16
Finnur
I suspect that after you sign the license agreement you can retry sending the patch ...
5 years, 1 month ago (2015-11-13 10:13:08 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1442593002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1442593002/40001
5 years, 1 month ago (2015-11-13 10:46:39 UTC) #19
Alexander Dunaev
Yes indeed. That's fixed now.
5 years, 1 month ago (2015-11-13 10:47:35 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-13 12:57:49 UTC) #21
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/454083864ede93660c2f08cf7d0e06ca10013c0d Cr-Commit-Position: refs/heads/master@{#359537}
5 years, 1 month ago (2015-11-13 12:59:26 UTC) #22
magjed_chromium
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/1469813003/ by magjed@chromium.org. ...
5 years, 1 month ago (2015-11-23 11:15:50 UTC) #23
Finnur
That's a bit of a drastic action for a test failure on a platform we're ...
5 years, 1 month ago (2015-11-23 11:47:34 UTC) #25
magjed_chromium
On 2015/11/23 11:47:34, Finnur wrote: > That's a bit of a drastic action for a ...
5 years, 1 month ago (2015-11-23 12:21:29 UTC) #26
Alexander Dunaev
We could reland it with the updated condition that disables the test on Windows only.
5 years ago (2015-11-24 05:30:58 UTC) #27
Finnur
5 years ago (2015-11-24 11:17:06 UTC) #28
Message was sent while issue was closed.
Yup. That seems like the right approach. Make sure to comment it in such a way
that it is obvious it fails on Windows XP.

Powered by Google App Engine
This is Rietveld 408576698