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

Issue 1685763003: [Contextual Search] Re-landing the CL: https://codereview.chromium.org/1669983003/ (Closed)

Created:
4 years, 10 months ago by pedro (no code reviews)
Modified:
4 years, 10 months ago
Reviewers:
mdjones
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@flaky_test
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Contextual Search] Re-landing the CL: https://codereview.chromium.org/1669983003/ Fixes and re-enables ContextualSearchManagerTest#testChainedSearchLoadsCorrectSearchTerm. Sometimes, the test tries to check the search term before the URL has started loading, which ends up resulting in failing to match the search term. The empty URL could also cause a crash when running the test, so this CL fixes the problem by waiting for the URL to match the search term, and also checks if the URL is null to prevent crashes. BUG=551711 Committed: https://crrev.com/9be717a273fb91fc5e2f1217fd42baabd92025fe Cr-Commit-Position: refs/heads/master@{#374531}

Patch Set 1 #

Patch Set 2 : Sync #

Patch Set 3 : Sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -4 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java View 5 chunks +18 lines, -4 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
pedro (no code reviews)
Matt, PTAL
4 years, 10 months ago (2016-02-09 19:39:31 UTC) #3
mdjones
rs lgtm. Consider making this test similar to those in ContextualSearchTapEventTest.
4 years, 10 months ago (2016-02-09 19:41:47 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685763003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685763003/40001
4 years, 10 months ago (2016-02-09 20:48:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685763003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685763003/40001
4 years, 10 months ago (2016-02-09 22:38:42 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-09 23:38:40 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/9be717a273fb91fc5e2f1217fd42baabd92025fe Cr-Commit-Position: refs/heads/master@{#374531}
4 years, 10 months ago (2016-02-09 23:40:17 UTC) #16
blundell
4 years, 10 months ago (2016-02-10 11:52:33 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:40001) has been created in
https://codereview.chromium.org/1683083002/ by blundell@chromium.org.

The reason for reverting is: Test crashes flakily (e.g.,
https://build.chromium.org/p/chromium.linux/builders/Android%20Tests/builds/2...).
I would attach a snippet of output from the crash, but there is no useful output
that I can see..

Powered by Google App Engine
This is Rietveld 408576698