Commit 5e20ed15 authored by George Steel's avatar George Steel Committed by Commit Bot

Extend timeout in worklet-animation-local-time-null-2

Fixes flakiness due to a cause it is not supposed to be testing for.

Bug: 1115277
Change-Id: I41d43339913577ef20cabf528d6d1934baab3197
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2350488
Commit-Queue: George Steel <gtsteel@chromium.org>
Commit-Queue: Alex Russell <slightlyoff@chromium.org>
Reviewed-by: default avatarAlex Russell <slightlyoff@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797042}
parent 15026124
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<title>Setting localTime to null means effect does not apply (reftest)</title> <title>Setting localTime to null means effect does not apply (reftest)</title>
<link rel="help" href="https://drafts.css-houdini.org/css-animationworklet/"> <link rel="help" href="https://drafts.css-houdini.org/css-animationworklet/">
<link rel="match" href="worklet-animation-local-time-null-2-ref.html"> <link rel="match" href="worklet-animation-local-time-null-2-ref.html">
<meta name="timeout" content="long">
<script src="/common/reftest-wait.js"></script> <script src="/common/reftest-wait.js"></script>
<script src="/web-animations/testcommon.js"></script> <script src="/web-animations/testcommon.js"></script>
...@@ -100,7 +101,8 @@ runInAnimationWorklet(` ...@@ -100,7 +101,8 @@ runInAnimationWorklet(`
]); ]);
waitForAnimationFrameWithCondition(() => control_anim.currentTime > 1000) waitForAnimationFrameWithCondition(() => control_anim.currentTime > 1000)
.then(() => waitForAsyncAnimationFrames(1)) // long timeout due to laggy compositor thread on debug build.
.then(() => waitForAsyncAnimationFrames(120))
.then(takeScreenshot); .then(takeScreenshot);
}); });
......
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