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

Issue 339029: NewTabUITest.NTPHasThumbnails can be flakey if it takes more than (Closed)

Created:
11 years, 1 month ago by tony
Modified:
9 years, 7 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

NewTabUITest.NTPHasThumbnails can be flakey if it takes more than 2 sec for the history results to be returned (displaying the thumbnails). Work around this by giving extra time to the test. BUG=25949 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30249

Patch Set 1 #

Total comments: 2

Patch Set 2 : sleep #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M chrome/browser/dom_ui/new_tab_ui_uitest.cc View 1 1 chunk +12 lines, -4 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
tony
11 years, 1 month ago (2009-10-27 20:59:36 UTC) #1
Paweł Hajdan Jr.
OK after fixing the comments. It's still going to be flaky. Please either don't mark ...
11 years, 1 month ago (2009-10-27 21:07:37 UTC) #2
tony
On 2009/10/27 21:07:37, Paweł Hajdan Jr. wrote: > OK after fixing the comments. > > ...
11 years, 1 month ago (2009-10-27 21:27:41 UTC) #3
Paweł Hajdan Jr.
11 years, 1 month ago (2009-10-27 21:31:33 UTC) #4
LGTM

> Ok, I will leave the bug open and add the below suggestion in a comment.

Thanks.

> > http://codereview.chromium.org/339029/diff/1/2#newcode46
> > Line 46: ASSERT_TRUE(tab->ExecuteAndExtractInt(L"",
> > It may improve things a little when instead of ASSERTing true here, you just
> > take bool success = tab->Execute... and then change the conditional below to
> > success && filler_thumbnails_count != 0.
> 
> I'd like to see this cause a problem before changing it.  I don't think it
> should ever fail.

Makes sense.

Powered by Google App Engine
This is Rietveld 408576698