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

Issue 10660010: Fix flaky PPAPITest.FileIO_NotAllowMixedReadWrite, re-enable (Closed)

Created:
8 years, 6 months ago by dmichael (off chromium)
Modified:
8 years, 6 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews
Visibility:
Public.

Description

Fix flaky PPAPITest.FileIO_NotAllowMixedReadWrite, re-enable NotAllowMixedReadWrite starts a Write, then checks that various other calls aren't allowed at the same time. But each of these uses TestCompletionCallback::WaitForResult, which runs a nested message loop. So the Write can complete any time that happens, meaning the later calls won't always fail with PP_ERROR_INPROGRESS. Also re-enable PPAPINaCl[GLibc|NewLib]Test.FileIO_NotAllowMixedReadWrite BUG=134442 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144060

Patch Set 1 #

Patch Set 2 : Attempt to de-flakify test #

Patch Set 3 : fix stupid compile error #

Total comments: 4

Patch Set 4 : review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M chrome/test/ui/ppapi_uitest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ppapi/tests/test_file_io.cc View 1 2 3 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
dmichael (off chromium)
8 years, 6 months ago (2012-06-25 21:25:22 UTC) #1
viettrungluu
http://codereview.chromium.org/10660010/diff/8001/ppapi/tests/test_file_io.cc File ppapi/tests/test_file_io.cc (right): http://codereview.chromium.org/10660010/diff/8001/ppapi/tests/test_file_io.cc#newcode909 ppapi/tests/test_file_io.cc:909: TestCompletionCallback callback_3(instance_->pp_instance(), force_async_); (Here and elsewhere:) I suppose you ...
8 years, 6 months ago (2012-06-25 21:41:34 UTC) #2
dmichael (off chromium)
http://codereview.chromium.org/10660010/diff/8001/ppapi/tests/test_file_io.cc File ppapi/tests/test_file_io.cc (right): http://codereview.chromium.org/10660010/diff/8001/ppapi/tests/test_file_io.cc#newcode909 ppapi/tests/test_file_io.cc:909: TestCompletionCallback callback_3(instance_->pp_instance(), force_async_); On 2012/06/25 21:41:34, viettrungluu wrote: > ...
8 years, 6 months ago (2012-06-25 22:06:28 UTC) #3
viettrungluu
lgtm
8 years, 6 months ago (2012-06-25 22:18:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmichael@chromium.org/10660010/14001
8 years, 6 months ago (2012-06-25 22:41:06 UTC) #5
commit-bot: I haz the power
8 years, 6 months ago (2012-06-25 23:52:45 UTC) #6
Change committed as 144060

Powered by Google App Engine
This is Rietveld 408576698