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

Issue 421193002: Fix ExtensionServiceTest.ClearExtensionData flakiness (Closed)

Created:
6 years, 4 months ago by jochen (gone - plz use gerrit)
Modified:
6 years, 4 months ago
Reviewers:
awong, Torne
CC:
chromium-apps-reviews_chromium.org, chromium-reviews, extensions-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix ExtensionServiceTest.ClearExtensionData flakiness The test runs work on the IO thread, but doesn't wait for the IO thread. Fails ~17% of the time on ChromeOS BUG=396504 R=ajwong@chromium.org TBR=torne@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=286674

Patch Set 1 #

Patch Set 2 : updates #

Total comments: 1

Patch Set 3 : updates #

Patch Set 4 : updates #

Patch Set 5 : updates #

Patch Set 6 : updates #

Patch Set 7 : use base::DoNothing for empty callbacks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+285 lines, -127 lines) Patch
M android_webview/native/aw_quota_manager_bridge_impl.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/apps/drive/drive_app_provider.cc View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/apps/ephemeral_app_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/apps/ephemeral_app_service.cc View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/background/background_application_list_model_unittest.cc View 1 2 3 4 5 6 4 chunks +44 lines, -22 lines 0 comments Download
M chrome/browser/browsing_data/browsing_data_remover_unittest.cc View 1 2 3 4 5 6 1 chunk +11 lines, -5 lines 0 comments Download
M chrome/browser/extensions/activity_log/activity_log_enabled_unittest.cc View 1 2 3 4 5 6 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/data_deleter.h View 1 2 2 chunks +7 lines, -1 line 0 comments Download
M chrome/browser/extensions/data_deleter.cc View 1 2 3 4 5 6 5 chunks +21 lines, -11 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_context_menu_model.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_disabled_ui.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_gcm_app_handler_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller_unittest.cc View 1 2 3 4 5 6 3 chunks +36 lines, -18 lines 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 4 5 6 8 chunks +35 lines, -21 lines 0 comments Download
M chrome/browser/extensions/extension_storage_monitor.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/external_install_error.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/shared_module_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/shared_module_service_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/search/hotword_service.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/themes/theme_service.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/themes/theme_service_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_syncable_service.cc View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_model_builder_unittest.cc View 1 2 3 4 5 6 2 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/ui/app_list/extension_uninstaller.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search/app_search_provider_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.mm View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/apps/app_info_dialog/app_info_footer_panel.cc View 1 2 3 4 5 6 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/extensions/bookmark_app_bubble_view.cc View 1 2 3 4 5 6 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/storage_partition_impl.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/storage_partition_impl.cc View 1 2 3 4 5 6 1 chunk +10 lines, -5 lines 0 comments Download
M content/public/browser/storage_partition.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
jochen (gone - plz use gerrit)
6 years, 4 months ago (2014-07-28 08:09:22 UTC) #1
awong
lgtm nice fix! https://codereview.chromium.org/421193002/diff/20001/chrome/browser/extensions/extension_service_unittest.cc File chrome/browser/extensions/extension_service_unittest.cc (right): https://codereview.chromium.org/421193002/diff/20001/chrome/browser/extensions/extension_service_unittest.cc#newcode4339 chrome/browser/extensions/extension_service_unittest.cc:4339: scoped_refptr<base::ThreadTestHelper> wait_for_io_thread( unrelated: Why is ThreadTestHelper ...
6 years, 4 months ago (2014-07-28 15:05:25 UTC) #2
jochen (gone - plz use gerrit)
actually, that fix doesn't work :( dom storage uses an internal worker pool that needs ...
6 years, 4 months ago (2014-07-28 15:09:27 UTC) #3
awong
Is it possible to change the internal worker pool to use something like the browser ...
6 years, 4 months ago (2014-07-28 15:11:28 UTC) #4
jochen (gone - plz use gerrit)
StoragePartition::ClearData already takes a completion callback, I'm just plumbing this through for ClearDataFromOrigin().... voila PTAL
6 years, 4 months ago (2014-07-28 15:23:18 UTC) #5
jochen (gone - plz use gerrit)
The changes are: - StoragePartition::ClearDataFromOrigin takes a callback argument - plumbing: - c/b/e/data_deleter.cc pass the ...
6 years, 4 months ago (2014-07-28 15:25:21 UTC) #6
awong
LGTM That's a lot of boilerplate but I like the explicitness.
6 years, 4 months ago (2014-07-28 15:30:34 UTC) #7
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 4 months ago (2014-07-29 08:35:35 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/421193002/60001
6 years, 4 months ago (2014-07-29 08:37:56 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_aosp on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-29 13:39:31 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-29 13:43:49 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg/builds/869)
6 years, 4 months ago (2014-07-29 13:43:50 UTC) #12
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 4 months ago (2014-07-30 13:52:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/421193002/100001
6 years, 4 months ago (2014-07-30 13:53:58 UTC) #14
jochen (gone - plz use gerrit)
The CQ bit was unchecked by jochen@chromium.org
6 years, 4 months ago (2014-07-30 15:20:54 UTC) #15
jochen (gone - plz use gerrit)
TBR'ing torne for adopting callsite in android_webview after api change
6 years, 4 months ago (2014-07-30 15:21:33 UTC) #16
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 4 months ago (2014-07-30 15:21:43 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/421193002/100001
6 years, 4 months ago (2014-07-30 15:22:01 UTC) #18
Torne
lgtm
6 years, 4 months ago (2014-07-30 15:37:04 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-07-30 17:15:57 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-07-30 18:03:31 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/1416)
6 years, 4 months ago (2014-07-30 18:03:32 UTC) #22
jochen (gone - plz use gerrit)
The CQ bit was checked by jochen@chromium.org
6 years, 4 months ago (2014-07-30 20:49:19 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jochen@chromium.org/421193002/120001
6 years, 4 months ago (2014-07-30 20:59:45 UTC) #24
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 01:32:55 UTC) #25
Message was sent while issue was closed.
Change committed as 286674

Powered by Google App Engine
This is Rietveld 408576698