Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Issue 2553973002: Worker: Fix test flakiness (timeout) on DedicatedWorkerTest (Closed)

Created:
4 years ago by nhiroki
Modified:
4 years ago
Reviewers:
falken
CC:
chromium-reviews, shimazu+worker_chromium.org, kinuko+worker_chromium.org, blink-reviews, horo+watch_chromium.org, falken+watch_chromium.org, blink-worker-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Worker: Fix test flakiness (timeout) on DedicatedWorkerTest These tests wait for notifications from a worker context using nested loops. If notifications are consecutively delivered, the balance between enterRunLoop() and exitRunLoop() is lost and timeout happens. This CL queues notifications from a worker context and makes sure to keep the balance. BUG=655089 Committed: https://crrev.com/d7babd6989862cc47c28874106f6dede10b059f5 Cr-Commit-Position: refs/heads/master@{#436552}

Patch Set 1 #

Total comments: 1

Patch Set 2 : rebase on https://codereview.chromium.org/2555673002/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -35 lines) Patch
M third_party/WebKit/Source/core/workers/DedicatedWorkerTest.cpp View 1 10 chunks +50 lines, -35 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (14 generated)
nhiroki
falken@, ptal. I want this fix because this flakiness seems more likely to occur after ...
4 years ago (2016-12-06 05:09:08 UTC) #5
falken
I guess it's not from this patch, but I don't understand the difference between "mayHavePendingActivity" ...
4 years ago (2016-12-06 05:29:12 UTC) #6
nhiroki
On 2016/12/06 05:29:12, falken wrote: > I guess it's not from this patch, but I ...
4 years ago (2016-12-06 06:33:00 UTC) #9
nhiroki
On 2016/12/06 06:33:00, nhiroki wrote: > On 2016/12/06 05:29:12, falken wrote: > > I guess ...
4 years ago (2016-12-06 07:11:26 UTC) #12
falken
lgtm
4 years ago (2016-12-06 07:24:31 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2553973002/20001
4 years ago (2016-12-06 09:18:31 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-06 09:26:17 UTC) #20
commit-bot: I haz the power
4 years ago (2016-12-06 09:28:29 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d7babd6989862cc47c28874106f6dede10b059f5
Cr-Commit-Position: refs/heads/master@{#436552}

Powered by Google App Engine
This is Rietveld 408576698