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

Issue 586053002: MachMultiprocess test: the child process must wait for the parent to finish (Closed)

Created:
6 years, 3 months ago by Mark Mentovai
Modified:
6 years, 3 months ago
Reviewers:
Robert Sesek
CC:
crashpad-dev_chromium.org
Base URL:
https://chromium.googlesource.com/crashpad/crashpad@master
Project:
crashpad
Visibility:
Public.

Description

In MachMultiprocess-based tests, the child must wait for the parent to finish. It was possible for the child process to exit before the parent had a chance to complete the pid_for_task() portion of its verification. TEST=util_test R=rsesek@chromium.org Committed: https://chromium.googlesource.com/crashpad/crashpad/+/c93fcf82789d1073af9eef2e4a6dd17309c5d842

Patch Set 1 #

Patch Set 2 : MachMessageServerTest too #

Patch Set 3 : Handle it in the base class #

Unified diffs Side-by-side diffs Delta from patch set Stats (+213 lines, -11 lines) Patch
M util/mach/mach_message_server_test.cc View 1 2 3 chunks +0 lines, -3 lines 0 comments Download
M util/test/mac/mach_multiprocess.cc View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M util/test/multiprocess.h View 1 2 2 chunks +22 lines, -0 lines 0 comments Download
M util/test/multiprocess.cc View 1 2 3 chunks +21 lines, -4 lines 0 comments Download
M util/test/multiprocess_test.cc View 1 2 3 chunks +160 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
Mark Mentovai
Hold off on this, I’m going to do it differently.
6 years, 3 months ago (2014-09-19 18:52:49 UTC) #2
Mark Mentovai
OK, this is ready now.
6 years, 3 months ago (2014-09-19 20:29:06 UTC) #3
Robert Sesek
LGTM
6 years, 3 months ago (2014-09-22 15:06:14 UTC) #4
Mark Mentovai
6 years, 3 months ago (2014-09-22 17:06:17 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as c93fcf8 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698