test(android): retain incomplete cleanup failure reasons (#1443)
Include the full stop disposition in the fixture assertion message, so incomplete owned teardown retains its typed reason in Vitest failure reporters. Preserve the existing cleanup requirement without retries or relaxed ownership checks. Seven process-boundary tests, full serial typecheck/lint/duplication/format checks, and 19 final-head CI checks pass after integrating the combined-main fixture fix. A controlled failure-rendering probe verifies that the explicit message preserves the reason. The original CI cleanup failure remains unreproduced; this is diagnostic work with a synthetic JADX producer, not a root-cause or real-engine fix. Refs #1441, #1446, #1448, #1065.
This commit is contained in:
parent
ea92328775
commit
4e3d335439
|
|
@ -74,7 +74,10 @@ export const createJadxProtocolFixture = async (
|
|||
ownsProcessLifetime: true,
|
||||
cleanup: () => cleanupOwnedProcessGroup(spawned.ownership),
|
||||
});
|
||||
expect((await supervisor.stop()).status).not.toBe("incomplete");
|
||||
const stopped = await supervisor.stop();
|
||||
expect(stopped, JSON.stringify(stopped)).not.toMatchObject({
|
||||
status: "incomplete",
|
||||
});
|
||||
if (options.cwd !== undefined)
|
||||
await rm(options.cwd, { recursive: true, force: true });
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue