Reverse engineer anything with agents, from app behavior down to native binaries.
TypeScript agent-skillsai-agentsbinary-analysisclaude-codeclicodexcordisdecompilerdeveloper-toolsdshdsh-pluginghidrahopperllmmcpmodel-context-protocolreareverse-engineeringstatic-analysistouhou
test(android): retry verified cleanup during fixture teardown
morluto2596f8da142c
diff --git a/tests/fixtures/android/jadx.ts b/tests/fixtures/android/jadx.tsindex c82469039..8e8ac4884 100644--- a/tests/fixtures/android/jadx.ts+++ b/tests/fixtures/android/jadx.ts@@ -74,10 +74,11 @@ export const createJadxProtocolFixture = async (ownsProcessLifetime: true,cleanup: () => cleanupOwnedProcessGroup(spawned.ownership),});- const stopped = await supervisor.stop();- expect(stopped, JSON.stringify(stopped)).not.toMatchObject({- status: "incomplete",- });+ // The SDK can close the child transport before process exit settles.+ // Retry retained ownership without bypassing the supervisor's proof.+ await expect+ .poll(() => supervisor.stop(), { timeout: 5_000 })+ .not.toMatchObject({ status: "incomplete" });if (options.cwd !== undefined)await rm(options.cwd, { recursive: true, force: true });});