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

Issue 968873005: Touch Feedback tests on Valgrind (Closed)

Created:
5 years, 9 months ago by jonross
Modified:
5 years, 9 months ago
CC:
chromium-reviews, glider+watch_chromium.org, timurrrr+watch_chromium.org, bruening+watch_chromium.org, tdanderson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove the message loop wait that changes timing of tests on valgrind. None of the tests are checking for delayed state changes, so the waits are unnecessary. Remove the filter to test failures on the bots. TEST=ShelfViewTest.AppListButtonTouchFeedback, ShelfViewTest.AppListButtonTouchFeedbackCancellation, SystemTrayTest.TrayPopupItemContainerTouchFeedback, SystemTrayTest.TrayPopupItemContainerTouchFeedbackCancellation, TrayDetailsViewTest.HoverHighlightViewTouchFeedback, TrayDetailsViewTest.HoverHighlightViewTouchFeedbackCancellation, TrayDetailsViewTest.TrayPopupHeaderButtonTouchFeedback, TrayDetailsViewTest.TrayPopupHeaderButtonTouchFeedbackCancellation, WebNotificationTrayTest.TouchFeedback, WebNotificationTrayTest.TouchFeedbackCancellation BUG=421888 Committed: https://crrev.com/7185d9d33461634fbdde9912e95189ae63623785 Cr-Commit-Position: refs/heads/master@{#319881}

Patch Set 1 : #

Patch Set 2 : Update GestureConfiguration for AshTestBase #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -40 lines) Patch
M ash/shelf/shelf_view_unittest.cc View 3 chunks +2 lines, -7 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 2 chunks +0 lines, -5 lines 0 comments Download
M ash/system/tray/tray_details_view_unittest.cc View 4 chunks +0 lines, -10 lines 0 comments Download
M ash/system/web_notification/web_notification_tray_unittest.cc View 3 chunks +2 lines, -12 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 1 chunk +8 lines, -3 lines 0 comments Download
M tools/valgrind/gtest_exclude/ash_unittests.gtest-memcheck.txt View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (9 generated)
jonross
Hey Rob, Could you take a first look at these test updates? I'm removing a ...
5 years, 9 months ago (2015-03-04 16:43:08 UTC) #6
flackr
This change lgtm but I'm very curious why calling RunAllPendingInMessageLoop() is causing valgrind failures. Is ...
5 years, 9 months ago (2015-03-04 18:44:29 UTC) #7
jonross
On 2015/03/04 18:44:29, flackr wrote: > This change lgtm but I'm very curious why calling ...
5 years, 9 months ago (2015-03-06 15:45:29 UTC) #8
jonross
Hi Stefan, I've updated some tests that were failing on Valgrind, so that we can ...
5 years, 9 months ago (2015-03-06 15:46:41 UTC) #9
flackr
On 2015/03/06 15:45:29, jonross wrote: > On 2015/03/04 18:44:29, flackr wrote: > > This change ...
5 years, 9 months ago (2015-03-06 15:47:05 UTC) #10
jonross
Hi Stefan, I've updated some tests that were failing on Valgrind, so that we can ...
5 years, 9 months ago (2015-03-06 15:47:31 UTC) #12
Mr4D (OOO till 08-26)
I am worried that the real cause of this flakiness is still out there. If ...
5 years, 9 months ago (2015-03-06 16:34:41 UTC) #13
jonross
Updated AshTestBase to change GestureConfiguration in order to avoid the valgrind race conditions. Ran ash_unittests ...
5 years, 9 months ago (2015-03-06 19:20:06 UTC) #14
Mr4D (OOO till 08-26)
LGTM! Thanks for investigating it!
5 years, 9 months ago (2015-03-06 20:48:07 UTC) #15
jonross
oshima@chromium.org: Please review changes in ash/test/ash_test_base.cc I've updated it to override default GestureConfiguration. As this ...
5 years, 9 months ago (2015-03-09 13:49:03 UTC) #17
oshima
lgtm https://codereview.chromium.org/968873005/diff/100001/ash/test/ash_test_base.cc File ash/test/ash_test_base.cc (right): https://codereview.chromium.org/968873005/diff/100001/ash/test/ash_test_base.cc#newcode137 ash/test/ash_test_base.cc:137: // Changing GestureConfiguration shouldn't make tests fail. nit: ...
5 years, 9 months ago (2015-03-09 22:55:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/968873005/120001
5 years, 9 months ago (2015-03-10 13:41:03 UTC) #21
jonross
https://codereview.chromium.org/968873005/diff/100001/ash/test/ash_test_base.cc File ash/test/ash_test_base.cc (right): https://codereview.chromium.org/968873005/diff/100001/ash/test/ash_test_base.cc#newcode137 ash/test/ash_test_base.cc:137: // Changing GestureConfiguration shouldn't make tests fail. On 2015/03/09 ...
5 years, 9 months ago (2015-03-10 15:07:57 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:120001)
5 years, 9 months ago (2015-03-10 15:14:35 UTC) #23
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 15:15:21 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7185d9d33461634fbdde9912e95189ae63623785
Cr-Commit-Position: refs/heads/master@{#319881}

Powered by Google App Engine
This is Rietveld 408576698