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

Issue 2895333003: Fixed WebUIMojoTest.MessageExchange tests and marked as FLAKY. (Closed)

Created:
3 years, 7 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 7 months ago
Reviewers:
baxley
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, ios-reviews+web_chromium.org, Eugene But (OOO till 7-30), yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed WebUIMojoTest.MessageExchange tests and marked as FLAKY. Notable changes: - Do not use WaitForCondition method that times out (tests should not timeout) and use one that returns bool. - Moved setup code from constructor to SetUp, so it is executed after the server actually started. - Increased timeout for the test to 5 seconds, which is a reasonable timeout to allow page load and one roundtrip message exchange. - Marked test as flaky to let it run on bots before fully enabling it. BUG=720098 Review-Url: https://codereview.chromium.org/2895333003 Cr-Commit-Position: refs/heads/master@{#473765} Committed: https://chromium.googlesource.com/chromium/src/+/267131adcedfb11f96f23c54cafb6cbfa03f6f1c

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -7 lines) Patch
M ios/web/webui/web_ui_mojo_inttest.mm View 1 5 chunks +18 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (5 generated)
Eugene But (OOO till 7-30)
3 years, 7 months ago (2017-05-22 23:02:37 UTC) #2
baxley
lgtm https://codereview.chromium.org/2895333003/diff/1/ios/web/webui/web_ui_mojo_inttest.mm File ios/web/webui/web_ui_mojo_inttest.mm (right): https://codereview.chromium.org/2895333003/diff/1/ios/web/webui/web_ui_mojo_inttest.mm#newcode36 ios/web/webui/web_ui_mojo_inttest.mm:36: const NSTimeInterval kMessageTimeout[] = 5.0; Is this supposed ...
3 years, 7 months ago (2017-05-22 23:17:08 UTC) #3
Eugene But (OOO till 7-30)
Thanks! https://codereview.chromium.org/2895333003/diff/1/ios/web/webui/web_ui_mojo_inttest.mm File ios/web/webui/web_ui_mojo_inttest.mm (right): https://codereview.chromium.org/2895333003/diff/1/ios/web/webui/web_ui_mojo_inttest.mm#newcode36 ios/web/webui/web_ui_mojo_inttest.mm:36: const NSTimeInterval kMessageTimeout[] = 5.0; On 2017/05/22 23:17:08, ...
3 years, 7 months ago (2017-05-23 00:25:21 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2895333003/20001
3 years, 7 months ago (2017-05-23 00:26:07 UTC) #7
commit-bot: I haz the power
3 years, 7 months ago (2017-05-23 00:40:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/267131adcedfb11f96f23c54cafb...

Powered by Google App Engine
This is Rietveld 408576698