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

Issue 331383002: Fix flakiness in AccessibilityFeaturesApiTest.Set tests (Closed)

Created:
6 years, 6 months ago by tbarzic
Modified:
6 years, 6 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, oshima+watch_chromium.org, plundblad+watch_chromium.org, aboxhall+watch_chromium.org, yuzo+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, nkostylev+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

Fix flakiness in AccessibilityFeaturesApiTest.Set tests The problem with tests was that spoken feedback was getting enabled just before loading the test extension. This would cause two extensions being loaded: ChromeVox extension (which gets loaded when spoken feedback is enabled) and the test extension. This is situation extension API tests don't handle well. They wait for the test extension to get loaded by waiting for any EXTENSION_LOADED notification. If the ChromeVox extension got loaded before the test extension, the extension api test would continue running too soon (before the test extension was loaded), and fail when the test extension could not be found in extension set by its path. To avoid that, keep spoken feedback disabled at the start of the test (which should ensure that the ChromeVox extension doesn't get loaded while the test extension is loading). BUG=384266 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278269

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -9 lines) Patch
M chrome/browser/chromeos/extensions/accessibility_features_apitest.cc View 5 chunks +21 lines, -9 lines 2 comments Download

Messages

Total messages: 7 (0 generated)
tbarzic
6 years, 6 months ago (2014-06-17 21:23:20 UTC) #1
Peter Lundblad
lgtm https://codereview.chromium.org/331383002/diff/1/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc File chrome/browser/chromeos/extensions/accessibility_features_apitest.cc (right): https://codereview.chromium.org/331383002/diff/1/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc#newcode263 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc:263: << message_; nit: would this line fit on ...
6 years, 6 months ago (2014-06-18 02:37:03 UTC) #2
tbarzic
https://codereview.chromium.org/331383002/diff/1/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc File chrome/browser/chromeos/extensions/accessibility_features_apitest.cc (right): https://codereview.chromium.org/331383002/diff/1/chrome/browser/chromeos/extensions/accessibility_features_apitest.cc#newcode263 chrome/browser/chromeos/extensions/accessibility_features_apitest.cc:263: << message_; On 2014/06/18 02:37:03, Peter Lundblad wrote: > ...
6 years, 6 months ago (2014-06-18 03:07:36 UTC) #3
asargent_no_longer_on_chrome
lgtm
6 years, 6 months ago (2014-06-19 00:17:56 UTC) #4
tbarzic
The CQ bit was checked by tbarzic@chromium.org
6 years, 6 months ago (2014-06-19 00:18:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/331383002/1
6 years, 6 months ago (2014-06-19 00:19:54 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 04:20:52 UTC) #7
Message was sent while issue was closed.
Change committed as 278269

Powered by Google App Engine
This is Rietveld 408576698