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

Issue 2448203002: Mojo: Suppress validation error logging in some tests (Closed)

Created:
4 years, 1 month ago by Ken Rockot(use gerrit already)
Modified:
4 years, 1 month ago
Reviewers:
jam, yzshen1
CC:
Aaron Boodman, abarth-chromium, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Mojo: Suppress validation error logging in some tests These errors are useful for developers when developers make mistakes, but they make a mess of test logs. Disable them in tests which are particularly noisy. BUG=659195 Committed: https://crrev.com/dafb77a4efa4ea0e6d2080ea239f401ff1c4a691 Cr-Commit-Position: refs/heads/master@{#429393}

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : moar comments #

Total comments: 2

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -3 lines) Patch
M mojo/edk/js/tests/js_to_cpp_tests.cc View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_errors.h View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M mojo/public/cpp/bindings/lib/validation_errors.cc View 1 2 3 4 4 chunks +18 lines, -3 lines 0 comments Download

Messages

Total messages: 36 (22 generated)
Ken Rockot(use gerrit already)
4 years, 1 month ago (2016-10-25 17:21:55 UTC) #3
yzshen1
I don't have a strong opinion but just want to let you know that it ...
4 years, 1 month ago (2016-10-25 17:34:12 UTC) #9
Ken Rockot(use gerrit already)
Maybe it would be better if we introduced a flag for this and added it ...
4 years, 1 month ago (2016-10-25 17:35:30 UTC) #10
Ken Rockot(use gerrit already)
In fact it would be nice if there were a log level that were suitable ...
4 years, 1 month ago (2016-10-25 17:36:34 UTC) #11
jam
perhaps we can just have a way for a particular test suite to have higher ...
4 years, 1 month ago (2016-10-25 17:45:42 UTC) #12
yzshen1
On Wed, Oct 26, 2016 at 1:33 AM, Yuzhu Shen <yzshen@chromium.org> wrote: > I don't ...
4 years, 1 month ago (2016-10-25 18:04:41 UTC) #13
Ken Rockot(use gerrit already)
Yeah I don't think this CL is the right thing to do. On Tue, Oct ...
4 years, 1 month ago (2016-10-25 18:12:05 UTC) #14
yzshen1
Thanks for reply! I don't have strong opinion whether we should have a new log ...
4 years, 1 month ago (2016-10-25 18:16:39 UTC) #15
Ken Rockot(use gerrit already)
Yuzhu, please take another look. Thanks!
4 years, 1 month ago (2016-11-02 15:57:49 UTC) #21
yzshen1
lgtm https://codereview.chromium.org/2448203002/diff/60001/mojo/public/cpp/bindings/lib/validation_errors.cc File mojo/public/cpp/bindings/lib/validation_errors.cc (right): https://codereview.chromium.org/2448203002/diff/60001/mojo/public/cpp/bindings/lib/validation_errors.cc#newcode108 mojo/public/cpp/bindings/lib/validation_errors.cc:108: void SuppressValidationErrorLoggingForTests(bool suppress) { This function is not ...
4 years, 1 month ago (2016-11-02 16:44:20 UTC) #24
Ken Rockot(use gerrit already)
https://codereview.chromium.org/2448203002/diff/60001/mojo/public/cpp/bindings/lib/validation_errors.cc File mojo/public/cpp/bindings/lib/validation_errors.cc (right): https://codereview.chromium.org/2448203002/diff/60001/mojo/public/cpp/bindings/lib/validation_errors.cc#newcode108 mojo/public/cpp/bindings/lib/validation_errors.cc:108: void SuppressValidationErrorLoggingForTests(bool suppress) { On 2016/11/02 at 16:44:20, yzshen1 ...
4 years, 1 month ago (2016-11-02 17:23:15 UTC) #29
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/2448203002/80001
4 years, 1 month ago (2016-11-02 17:23:54 UTC) #33
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-02 20:46:21 UTC) #34
commit-bot: I haz the power
4 years, 1 month ago (2016-11-02 20:48:35 UTC) #36
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/dafb77a4efa4ea0e6d2080ea239f401ff1c4a691
Cr-Commit-Position: refs/heads/master@{#429393}

Powered by Google App Engine
This is Rietveld 408576698