|
|
Chromium Code Reviews|
Created:
3 years, 7 months ago by Dan Elphick Modified:
3 years, 7 months ago Reviewers:
mcasas CC:
chromium-reviews, jam, darin-cc_chromium.org, feature-media-reviews_chromium.org Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionMake waitFor check predicate before logging slowness.
Before it was possible for an overloaded main thread to repeatedly print
the "Still waiting..." message without actually checking the predicate,
which in turn can cause tests to time out.
BUG=
Review-Url: https://codereview.chromium.org/2868933003
Cr-Commit-Position: refs/heads/master@{#470520}
Committed: https://chromium.googlesource.com/chromium/src/+/86f6afd077fb8b9aecd444fd27b51b2cfd0dece6
Patch Set 1 #
Messages
Total messages: 15 (10 generated)
Description was changed from ========== Make waitFor check predicate before logging slowness. Previously for tsan tests, it's possible that the DOMTimer from setInterval would not fire within 3 seconds, which caused the "Still waiting..." message to be logged without ever checking the predicate. BUG= ========== to ========== Make waitFor check predicate before logging slowness. Previously for tsan tests, it's possible that the DOMTimer from setInterval would not fire within 3 seconds, which caused the "Still waiting..." message to be logged without ever checking the predicate. BUG= ==========
delphick@chromium.org changed reviewers: + mcasas@chromium.org
PTAL Miguel. This change is needed to land https://codereview.chromium.org/2810423003/ as that prioritizes compositor tasks which in combination with tsan means the setInterval runs with an interval of >3s which causes the WebRtcMediaRecorderTest.RecordWithTransparency/* tests to always time out.
The CQ bit was checked by delphick@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
On 2017/05/09 14:11:49, Dan Elphick wrote: > PTAL Miguel. > > This change is needed to land https://codereview.chromium.org/2810423003/ as > that prioritizes compositor tasks which in combination with tsan means the > setInterval runs with an interval of >3s which causes the > WebRtcMediaRecorderTest.RecordWithTransparency/* tests to always time out. lgtm, thanks! (Also, the CL description says "Previously for tsan tests...", did you mean "On ToT...", or "After CL bla lands then..." ? Rationale: the CL description should talk about the CL in present tense, and make explicit what is ToT and what is the near future, etc.
On 2017/05/09 18:21:35, mcasas wrote: > On 2017/05/09 14:11:49, Dan Elphick wrote: > > PTAL Miguel. > > > > This change is needed to land https://codereview.chromium.org/2810423003/ as > > that prioritizes compositor tasks which in combination with tsan means the > > setInterval runs with an interval of >3s which causes the > > WebRtcMediaRecorderTest.RecordWithTransparency/* tests to always time out. > > lgtm, thanks! > > (Also, the CL description says "Previously for tsan tests...", > did you mean "On ToT...", or "After CL bla lands then..." ? > Rationale: the CL description should talk about the CL > in present tense, and make explicit what is ToT and what is > the near future, etc. Thanks and sorry the description I wrote is horrible. It should say 'Before it was possible for an overloaded main thread to repeatedly print the "Still waiting..." message without actually checking the predicate.' Currently that doesn't seem to happen but it will do when my other CL lands (although again only for tsan tests which seem to make everything 10+ times slower).
Description was changed from ========== Make waitFor check predicate before logging slowness. Previously for tsan tests, it's possible that the DOMTimer from setInterval would not fire within 3 seconds, which caused the "Still waiting..." message to be logged without ever checking the predicate. BUG= ========== to ========== Make waitFor check predicate before logging slowness. Before it was possible for an overloaded main thread to repeatedly print the "Still waiting..." message without actually checking the predicate, which in turn can cause tests to time out. BUG= ==========
The CQ bit was checked by delphick@chromium.org
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 1, "attempt_start_ts": 1494405395286080, "parent_rev":
"80db61a2f1eaa7555d0a6bfa6e432b52f9530592", "commit_rev":
"86f6afd077fb8b9aecd444fd27b51b2cfd0dece6"}
Message was sent while issue was closed.
Description was changed from ========== Make waitFor check predicate before logging slowness. Before it was possible for an overloaded main thread to repeatedly print the "Still waiting..." message without actually checking the predicate, which in turn can cause tests to time out. BUG= ========== to ========== Make waitFor check predicate before logging slowness. Before it was possible for an overloaded main thread to repeatedly print the "Still waiting..." message without actually checking the predicate, which in turn can cause tests to time out. BUG= Review-Url: https://codereview.chromium.org/2868933003 Cr-Commit-Position: refs/heads/master@{#470520} Committed: https://chromium.googlesource.com/chromium/src/+/86f6afd077fb8b9aecd444fd27b5... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/86f6afd077fb8b9aecd444fd27b5... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
