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

Issue 6730016: Fix flakiness and enable RenderViewHostManagerTest on Linux/Mac. (Closed)

Created:
9 years, 9 months ago by Charlie Reis
Modified:
9 years, 7 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, jam, rafaelw
Visibility:
Public.

Description

Fix flakiness and enable RenderViewHostManagerTest on Linux/Mac. BUG=67532 TEST=browser_tests --gtest_filter=RenderViewHostManagerTest.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79416

Patch Set 1 #

Patch Set 2 : Compare URL paths, not titles. #

Patch Set 3 : Fix comments from other review. #

Total comments: 3

Patch Set 4 : Move loading check to ui_utils. #

Patch Set 5 : Fix additional flakiness. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -42 lines) Patch
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/browser_focus_uitest.cc View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/test/plugin/pdf_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 1 comment Download
M chrome/test/ui_test_utils.h View 1 2 3 1 chunk +3 lines, -2 lines 2 comments Download
M chrome/test/ui_test_utils.cc View 1 2 3 4 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_manager_browsertest.cc View 1 2 3 4 7 chunks +38 lines, -26 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Charlie Reis
The WaitForLoadStop call was flaky because it was possible for the navigation to finish before ...
9 years, 9 months ago (2011-03-24 00:56:36 UTC) #1
Charlie Reis
I've updated the patch to compare URL paths instead of titles, since the title is ...
9 years, 9 months ago (2011-03-24 16:29:14 UTC) #2
Paweł Hajdan Jr.
Work on flakiness is always awesome, thanks! Just a comment to make it even better. ...
9 years, 9 months ago (2011-03-24 17:22:57 UTC) #3
Charlie Reis
http://codereview.chromium.org/6730016/diff/7001/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): http://codereview.chromium.org/6730016/diff/7001/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode76 content/browser/renderer_host/render_view_host_manager_browsertest.cc:76: ui_test_utils::WaitForLoadStop( On 2011/03/24 17:22:57, Paweł Hajdan Jr. wrote: > ...
9 years, 9 months ago (2011-03-24 17:33:55 UTC) #4
Charlie Reis
http://codereview.chromium.org/6730016/diff/7001/content/browser/renderer_host/render_view_host_manager_browsertest.cc File content/browser/renderer_host/render_view_host_manager_browsertest.cc (right): http://codereview.chromium.org/6730016/diff/7001/content/browser/renderer_host/render_view_host_manager_browsertest.cc#newcode76 content/browser/renderer_host/render_view_host_manager_browsertest.cc:76: ui_test_utils::WaitForLoadStop( On 2011/03/24 17:33:55, creis wrote: > On 2011/03/24 ...
9 years, 9 months ago (2011-03-24 23:15:39 UTC) #5
Paweł Hajdan Jr.
LGTM with a comment, thanks! http://codereview.chromium.org/6730016/diff/6002/chrome/test/ui_test_utils.h File chrome/test/ui_test_utils.h (right): http://codereview.chromium.org/6730016/diff/6002/chrome/test/ui_test_utils.h#newcode113 chrome/test/ui_test_utils.h:113: // currently loading. nit: ...
9 years, 9 months ago (2011-03-25 09:39:42 UTC) #6
Charlie Reis
9 years, 9 months ago (2011-03-25 19:46:03 UTC) #7
http://codereview.chromium.org/6730016/diff/6002/chrome/test/ui_test_utils.h
File chrome/test/ui_test_utils.h (right):

http://codereview.chromium.org/6730016/diff/6002/chrome/test/ui_test_utils.h#...
chrome/test/ui_test_utils.h:113: // currently loading.
On 2011/03/25 09:39:42, Paweł Hajdan Jr. wrote:
> nit: Please either remove the "if the tab is currently loading" part, or add
> "otherwise returns immediately".

Done (and landed).

Powered by Google App Engine
This is Rietveld 408576698