Skip to content

Commit

Permalink
test: force resigning of app
Browse files Browse the repository at this point in the history
In the GitHub Actions CI, test-macos-app-sandbox.js can fail due
to the application already being signed. This commit updates
the test to handle that condition.

Refs: #33944
PR-URL: #34331
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
cjihrig authored and MylesBorins committed Jul 27, 2020
1 parent 7d058a4 commit cd35d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-macos-app-sandbox.js
Expand Up @@ -42,7 +42,7 @@ assert.strictEqual(
child_process.spawnSync('/usr/bin/codesign', [
'--entitlements', fixtures.path(
'macos-app-sandbox', 'node_sandboxed.entitlements'),
'-s', '-',
'--force', '-s', '-',
appBundlePath
]).status,
0);
Expand Down

0 comments on commit cd35d00

Please sign in to comment.