Commit 78ddf86b authored by Liviu Tinta's avatar Liviu Tinta Committed by Commit Bot

Disable flaky test ScrollAnimatorSimTest.TestDivUserScrollCallBack


Bug: 1092550
Change-Id: Ib45946e26ec15d7f341c31d232cf9065dd64ac3f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255426
Commit-Queue: Liviu Tinta <liviutinta@chromium.org>
Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#781142}
parent 3549d179
...@@ -270,7 +270,13 @@ TEST_F(ScrollAnimatorSimTest, TestRootFrameBothViewportsUserScrollCallBack) { ...@@ -270,7 +270,13 @@ TEST_F(ScrollAnimatorSimTest, TestRootFrameBothViewportsUserScrollCallBack) {
// Test that the callback of user scroll will be executed when the animation // Test that the callback of user scroll will be executed when the animation
// finishes at ScrollAnimator::TickAnimation for div user scroll. // finishes at ScrollAnimator::TickAnimation for div user scroll.
TEST_F(ScrollAnimatorSimTest, TestDivUserScrollCallBack) { #if defined(ADDRESS_SANITIZER) || defined(THREAD_SANITIZER)
// Flaky under sanitizers, see http://crbug.com/1092550
#define MAYBE_TestDivUserScrollCallBack DISABLED_TestDivUserScrollCallBack
#else
#define MAYBE_TestDivUserScrollCallBack TestDivUserScrollCallBack
#endif
TEST_F(ScrollAnimatorSimTest, MAYBE_TestDivUserScrollCallBack) {
GetDocument().GetSettings()->SetScrollAnimatorEnabled(true); GetDocument().GetSettings()->SetScrollAnimatorEnabled(true);
WebView().MainFrameWidget()->Resize(WebSize(800, 500)); WebView().MainFrameWidget()->Resize(WebSize(800, 500));
SimRequest request("https://example.com/test.html", "text/html"); SimRequest request("https://example.com/test.html", "text/html");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment