Skip to content

armgit / rea

Public Imported from GitHub
0

Reverse engineer anything with agents, from app behavior down to native binaries.

test(android): allow provider readiness under load

morluto961c3c3de79e
diff --git a/tests/boundary/process/androidAnalysisMcp.test.ts b/tests/boundary/process/androidAnalysisMcp.test.ts
index d0179f3c5..14a301775 100644
--- a/tests/boundary/process/androidAnalysisMcp.test.ts
+++ b/tests/boundary/process/androidAnalysisMcp.test.ts
@@ -307,7 +307,7 @@ it("cleans an active engine when the MCP client disconnects", async () => {
const pending = client
.callTool({ name: "inspect_android_package", arguments: { path: apk } })
.catch(() => undefined);
- await expect.poll(() => launches.length).toBe(1);
+ await expect.poll(() => launches.length, { timeout: 10_000 }).toBe(1);
await client.close();
await pending;
await expect