test(e2e): tolerate missing pgrep in runtime smoke

This commit is contained in:
Vincent Koc
2026-05-01 00:16:39 -07:00
parent 54e2f4dc28
commit c1fec482e8

View File

@@ -502,6 +502,10 @@ async function assertNoPackageManagerChildren(pid) {
);
}
} catch (error) {
if (error?.code === "ENOENT") {
console.log("Runtime deps child-process watchdog skipped: pgrep unavailable");
return;
}
if (error instanceof Error && error.message.includes("failed with 1")) {
return;
}