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

Issue 462803002: Fix failing (flaky) LayerTreeHostTestLCDNotification test. (Closed)

Created:
6 years, 4 months ago by danakj
Modified:
6 years, 4 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, piman
Project:
chromium
Visibility:
Public.

Description

Fix failing (flaky) LayerTreeHostTestLCDNotification test. This test failed with impl-side painting because PictureLayer did not skip commits caused by invalidating the layer during Update. Meanwhile, this CL has some changes that changed the flaky failures into always-failures. The change is to make the ThreadProxy::CommitPendingForTesting check not only if a main frame is in progress, but also if one will happen in the future. The failure was flaky because the commit would be requested but not happen immediately when impl-side painting was on due to activation (if the machine was suitably loaded at the time). I renamed CommitPendingForTesting to MainFrameWillHappenForTesting because "CommitPending" is a specific notion in the public API of the scheduler and I didn't want to confuse these two. R=ajuma, brianderson, enne BUG=402449, 397120 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289165

Patch Set 1 #

Total comments: 5

Patch Set 2 : flakylcd: 1000 #

Patch Set 3 : flakylcd: rebase #

Patch Set 4 : flakylcd: fixnewcontexttest #

Total comments: 2

Patch Set 5 : flakylcd: reordertests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -154 lines) Patch
M cc/layers/picture_layer.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M cc/layers/texture_layer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/scheduler/scheduler.h View 1 2 1 chunk +7 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/scheduler/scheduler_state_machine.cc View 1 2 2 chunks +12 lines, -5 lines 0 comments Download
M cc/test/fake_proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_proxy.cc View 1 chunk +3 lines, -1 line 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 8 chunks +36 lines, -63 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_animation.cc View 1 2 1 chunk +0 lines, -57 lines 0 comments Download
M cc/trees/proxy.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/single_thread_proxy.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.h View 3 chunks +3 lines, -3 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 2 chunks +17 lines, -18 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
danakj
6 years, 4 months ago (2014-08-11 18:56:01 UTC) #1
danakj
The continuous commit/animate tests that I removed are flaky tests that got more flaky after ...
6 years, 4 months ago (2014-08-11 18:57:19 UTC) #2
danakj
I'm not super fond of the name MainFrameWillHappenForTesting.. soliciting suggestions.
6 years, 4 months ago (2014-08-11 18:58:29 UTC) #3
enne (OOO)
lgtm https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h#newcode103 cc/scheduler/scheduler.h:103: bool MainFrameForTestingWillHappen() const { bikeshed: Will => Could? ...
6 years, 4 months ago (2014-08-11 19:50:12 UTC) #4
danakj
https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h#newcode103 cc/scheduler/scheduler.h:103: bool MainFrameForTestingWillHappen() const { On 2014/08/11 19:50:12, enne wrote: ...
6 years, 4 months ago (2014-08-11 20:01:07 UTC) #5
danakj
https://codereview.chromium.org/462803002/diff/1/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/462803002/diff/1/cc/trees/layer_tree_host_unittest.cc#newcode4888 cc/trees/layer_tree_host_unittest.cc:4888: 1000 / layer_tree_host()->settings().refresh_rate; On 2014/08/11 19:50:12, enne wrote: > ...
6 years, 4 months ago (2014-08-11 20:03:03 UTC) #6
enne (OOO)
https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h File cc/scheduler/scheduler.h (right): https://codereview.chromium.org/462803002/diff/1/cc/scheduler/scheduler.h#newcode103 cc/scheduler/scheduler.h:103: bool MainFrameForTestingWillHappen() const { On 2014/08/11 20:01:06, danakj wrote: ...
6 years, 4 months ago (2014-08-11 20:05:02 UTC) #7
ajuma
lgtm too.
6 years, 4 months ago (2014-08-11 20:13:26 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 14:10:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/462803002/20001
6 years, 4 months ago (2014-08-12 14:13:23 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: chromium_presubmit on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-12 14:23:49 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 14:25:27 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/3315) mac_chromium_rel_swarming on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_swarming/builds/2199)
6 years, 4 months ago (2014-08-12 14:25:28 UTC) #13
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 14:33:02 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/462803002/40001
6 years, 4 months ago (2014-08-12 14:33:39 UTC) #15
danakj
enne: PTAL at the delta for PS4, I had to fix a new test.
6 years, 4 months ago (2014-08-12 16:09:54 UTC) #16
enne (OOO)
https://codereview.chromium.org/462803002/diff/80001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/462803002/diff/80001/cc/trees/layer_tree_host_unittest.cc#newcode4583 cc/trees/layer_tree_host_unittest.cc:4583: scoped_ptr<SwapPromise> swap_promise( Can you put this swap promise before ...
6 years, 4 months ago (2014-08-12 17:49:56 UTC) #17
danakj
https://codereview.chromium.org/462803002/diff/80001/cc/trees/layer_tree_host_unittest.cc File cc/trees/layer_tree_host_unittest.cc (right): https://codereview.chromium.org/462803002/diff/80001/cc/trees/layer_tree_host_unittest.cc#newcode4583 cc/trees/layer_tree_host_unittest.cc:4583: scoped_ptr<SwapPromise> swap_promise( On 2014/08/12 17:49:56, enne wrote: > Can ...
6 years, 4 months ago (2014-08-12 18:05:43 UTC) #18
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 4 months ago (2014-08-12 18:08:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/462803002/100001
6 years, 4 months ago (2014-08-12 18:11:42 UTC) #20
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-12 23:57:35 UTC) #21
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 03:03:23 UTC) #22
Message was sent while issue was closed.
Change committed as 289165

Powered by Google App Engine
This is Rietveld 408576698