Deflake VisualPropertiesPropagation_RootWindowSegments
Instead of looping for the expected condition, use the LocalSurfaceId increasing as evidence that the expected visual properties update was delivered, and test for the expected values directly. If the test remains flaky, this will give a better indication of where things are breaking down. Also fix the math for the expected width of the second segment - for devices where there are an odd number of DIPs in width, the segments won't be equal. R=jonross@chromium.org Bug: 1089994 Change-Id: I1a81dc73055a4fca8ffc4b577b1b25046dcf23d9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2433306 Commit-Queue: Daniel Libby <dlibby@microsoft.com> Reviewed-by:Jonathan Ross <jonross@chromium.org> Cr-Commit-Position: refs/heads/master@{#811550}
Showing
Please register or sign in to comment