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

Issue 2857333006: Fix flakiness in PushPullFIFOSmokeTest.SmokeTests/7 (Closed)

Created:
3 years, 7 months ago by hongchan
Modified:
3 years, 7 months ago
Reviewers:
o1ka, Raymond Toy
CC:
chromium-reviews, blink-reviews, kinuko+watch, Raymond Toy, hongchan
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix flakiness in PushPullFIFOSmokeTest.SmokeTests/7 This sub-test often crashes because the test runner prematurely starts tear-down process when the given test duration is up while there are pending tasks in the thread task scheduler. Remove the fixed test duration and wait for the actual task/thread to be completed. Locally confirmed that the test runner waits until tasks is completed. BUG=718715 Review-Url: https://codereview.chromium.org/2857333006 Cr-Commit-Position: refs/heads/master@{#470101} Committed: https://chromium.googlesource.com/chromium/src/+/c7b7263536e2151b952fe4f0884bad4e495da2e0

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove fortible test runner tear-down and use WaitableEvent #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -25 lines) Patch
M third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp View 1 5 chunks +17 lines, -25 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
hongchan
PTAL.
3 years, 7 months ago (2017-05-05 17:59:35 UTC) #2
Raymond Toy
lgtm
3 years, 7 months ago (2017-05-05 23:12:03 UTC) #7
o1ka
lgtm if both lines in question can be (and are) removed. https://codereview.chromium.org/2857333006/diff/1/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp File third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp (right): ...
3 years, 7 months ago (2017-05-08 12:11:56 UTC) #8
hongchan
@olka Thanks! I was able to remove them. https://codereview.chromium.org/2857333006/diff/1/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp File third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp (right): https://codereview.chromium.org/2857333006/diff/1/third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp#newcode54 third_party/WebKit/Source/platform/audio/PushPullFIFOMultithreadTest.cpp:54: client_thread_.reset(); ...
3 years, 7 months ago (2017-05-08 18:19:33 UTC) #12
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/2857333006/40001
3 years, 7 months ago (2017-05-08 18:19:49 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 20:15:54 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/c7b7263536e2151b952fe4f0884b...

Powered by Google App Engine
This is Rietveld 408576698