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

Issue 664863003: mac: Fix TestGTMSMJobSubmitRemove on Yosemite. (Closed)

Created:
6 years, 2 months ago by erikchen
Modified:
5 years, 10 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Fix TestGTMSMJobSubmitRemove on Yosemite. On OSX 10.10, using launch_msg() to remove a job does not guarantee that the task is synchronously killed. The unit test needs to wait for the task to be killed before proceeding. BUG=390276 Committed: https://crrev.com/37bc1c78f8efac04c98c7f2635dd1cd737e44843 Cr-Commit-Position: refs/heads/master@{#314181}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Update test after fixing GTMSMJobRemove(). #

Total comments: 2

Patch Set 3 : Comments from scottbyer. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M chrome/browser/service_process/service_process_control_mac_unittest.mm View 1 2 2 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 20 (5 generated)
erikchen
mark: Please review.
6 years, 2 months ago (2014-10-20 20:07:32 UTC) #2
Mark Mentovai
Yes, I’ve definitely seen this behavior change in 10.10. https://codereview.chromium.org/664863003/diff/1/chrome/browser/service_process/service_process_control_mac_unittest.mm File chrome/browser/service_process/service_process_control_mac_unittest.mm (right): https://codereview.chromium.org/664863003/diff/1/chrome/browser/service_process/service_process_control_mac_unittest.mm#newcode73 chrome/browser/service_process/service_process_control_mac_unittest.mm:73: ...
6 years, 2 months ago (2014-10-20 20:24:38 UTC) #3
erikchen
https://codereview.chromium.org/664863003/diff/1/chrome/browser/service_process/service_process_control_mac_unittest.mm File chrome/browser/service_process/service_process_control_mac_unittest.mm (right): https://codereview.chromium.org/664863003/diff/1/chrome/browser/service_process/service_process_control_mac_unittest.mm#newcode73 chrome/browser/service_process/service_process_control_mac_unittest.mm:73: ASSERT_TRUE(GTMSMJobRemove(label_cf, &error)); On 2014/10/20 20:24:38, Mark Mentovai wrote: > ...
6 years, 2 months ago (2014-10-21 00:13:25 UTC) #4
Mark Mentovai
There are some things that can’t become XPC services or have installed LaunchDaemon/LaunchAgent plists. For ...
6 years, 2 months ago (2014-10-21 03:25:54 UTC) #5
erikchen
On 2014/10/21 03:25:54, Mark Mentovai wrote: > There are some things that can’t become XPC ...
5 years, 11 months ago (2015-01-28 04:14:42 UTC) #6
Mark Mentovai
LGTM
5 years, 11 months ago (2015-01-28 05:22:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664863003/20001
5 years, 10 months ago (2015-01-28 18:10:45 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/38928)
5 years, 10 months ago (2015-01-28 18:17:35 UTC) #11
erikchen
scottbyer: Looking for an OWNER review.
5 years, 10 months ago (2015-01-29 22:03:39 UTC) #13
Scott Byer
https://codereview.chromium.org/664863003/diff/20001/chrome/browser/service_process/service_process_control_mac_unittest.mm File chrome/browser/service_process/service_process_control_mac_unittest.mm (right): https://codereview.chromium.org/664863003/diff/20001/chrome/browser/service_process/service_process_control_mac_unittest.mm#newcode64 chrome/browser/service_process/service_process_control_mac_unittest.mm:64: base::TimeDelta timeout_in_ms = base::TimeDelta::FromMilliseconds(1000); IIRC, there are some testing ...
5 years, 10 months ago (2015-01-31 00:18:15 UTC) #14
erikchen
scottbyer: PTAL https://codereview.chromium.org/664863003/diff/20001/chrome/browser/service_process/service_process_control_mac_unittest.mm File chrome/browser/service_process/service_process_control_mac_unittest.mm (right): https://codereview.chromium.org/664863003/diff/20001/chrome/browser/service_process/service_process_control_mac_unittest.mm#newcode64 chrome/browser/service_process/service_process_control_mac_unittest.mm:64: base::TimeDelta timeout_in_ms = base::TimeDelta::FromMilliseconds(1000); On 2015/01/31 00:18:15, ...
5 years, 10 months ago (2015-01-31 00:52:05 UTC) #15
Scott Byer
lgtm
5 years, 10 months ago (2015-02-01 18:40:14 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664863003/40001
5 years, 10 months ago (2015-02-02 17:53:30 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-02 20:30:16 UTC) #19
commit-bot: I haz the power
5 years, 10 months ago (2015-02-02 20:31:17 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/37bc1c78f8efac04c98c7f2635dd1cd737e44843
Cr-Commit-Position: refs/heads/master@{#314181}

Powered by Google App Engine
This is Rietveld 408576698