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

Issue 598443002: [Mac] Re-enable AppShimInteractiveTest.Launch. (Closed)

Created:
6 years, 3 months ago by jackhou1
Modified:
6 years, 2 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Mac] Re-enable AppShimInteractiveTest.Launch. The stack trace suggests LSOpenApplication fails to find the shim, and this happens after waiting on a run loop. So a likely cause is that we're not successfully waiting for the file operations to finish. This CL changes the test to observe the parent directory instead of the shim directory, and adds checks that the path exists before proceeding. If the test still fails for this reason, at least it'll say so. BUG=415422 Committed: https://crrev.com/4158cb9ac70b5f3b4b170e4bb89697bf01f00487 Cr-Commit-Position: refs/heads/master@{#296185}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comments #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -12 lines) Patch
M apps/app_shim/app_shim_interactive_uitest_mac.mm View 1 5 chunks +20 lines, -12 lines 2 comments Download

Messages

Total messages: 10 (2 generated)
jackhou1
Couldn't repro flakes on my machine, so not entirely sure why they're happening. The stack ...
6 years, 3 months ago (2014-09-23 05:55:21 UTC) #2
tapted
Yeah, I think the reasoning is sound. But we should keep an eye on it ...
6 years, 3 months ago (2014-09-23 06:28:41 UTC) #3
jackhou1
https://codereview.chromium.org/598443002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm File apps/app_shim/app_shim_interactive_uitest_mac.mm (right): https://codereview.chromium.org/598443002/diff/1/apps/app_shim/app_shim_interactive_uitest_mac.mm#newcode76 apps/app_shim/app_shim_interactive_uitest_mac.mm:76: void Watch(const base::FilePath& path) { On 2014/09/23 06:28:41, tapted ...
6 years, 3 months ago (2014-09-23 07:34:07 UTC) #4
tapted
lgtm (I'd probably be a bit more verbose in the CL description too, but I'm ...
6 years, 3 months ago (2014-09-23 07:52:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598443002/20001
6 years, 2 months ago (2014-09-23 14:27:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/598443002/20001
6 years, 2 months ago (2014-09-23 14:27:56 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 283878cfe1bf579d507c2c47c8f5b1cc06e8507d
6 years, 2 months ago (2014-09-23 15:05:54 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-09-23 15:06:42 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4158cb9ac70b5f3b4b170e4bb89697bf01f00487
Cr-Commit-Position: refs/heads/master@{#296185}

Powered by Google App Engine
This is Rietveld 408576698