Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix callback-idle-periods.html's flaky failure. #41358

Merged

Conversation

rniwa
Copy link
Contributor

@rniwa rniwa commented Aug 6, 2023

The test was assuming that new deadline (now + timeRemaining) to strictly monotonically advance in each idle callback. This may not be the case when multiple idle callbacks are scheduled & ran within a single millisecond.

The test was assuming that new deadline (now + timeRemaining) to strictly
monotonically advance in each idle callback. This may not be the case when
multiple idle callbacks are scheduled & ran within a single millisecond.
Copy link
Contributor

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@rniwa rniwa merged commit 0f0227f into web-platform-tests:master Aug 8, 2023
@rniwa rniwa deleted the fix-callback-idle-periods-flaky branch August 8, 2023 04:41
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this pull request Dec 11, 2023
…1358)

The test was assuming that new deadline (now + timeRemaining) to strictly
monotonically advance in each idle callback. This may not be the case when
multiple idle callbacks are scheduled & ran within a single millisecond.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants