Skip to content

Commit 10bfdb8

Browse files
committed
test(remote-mobile): preserve early setup failures
1 parent 7fd4064 commit 10bfdb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • linux-features/remote-mobile-control

linux-features/remote-mobile-control/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2970,7 +2970,7 @@ test("Linux device-key store contends on its validated lock file", { timeout: 10
29702970
assert.ok(Date.now() - startedAt >= 150, "key update must wait for the existing file lock");
29712971
assert.equal(holderExitCode, 0);
29722972
} finally {
2973-
if (holder?.exitCode == null && holder?.signalCode == null) {
2973+
if (holder && holder.exitCode == null && holder.signalCode == null) {
29742974
holder.kill("SIGKILL");
29752975
}
29762976
await holderClosed?.catch(() => {});

0 commit comments

Comments
 (0)