Skip to content
TypeScript

chore(mobile): e2e treats a failed daemon read as a pool error

Julius Marminge7a059b906e80
diff --git a/scripts/mobile-e2e/device.ts b/scripts/mobile-e2e/device.ts
index fd0517f97ac..e84289fe0a9 100644
--- a/scripts/mobile-e2e/device.ts
+++ b/scripts/mobile-e2e/device.ts
@@ -70,7 +70,7 @@ const TRANSIENT =
/** Failures that say the pool could not serve the pose, not that the app misbehaved. */
export const poolError = (message: string) =>
TRANSIENT.test(message) ||
- /Daemon connection closed|WORKER_UNREACHABLE|xcrun timed out|refused by simlock|is not available on this simlock/i.test(
+ /Daemon connection closed|Failed to read daemon response|WORKER_UNREACHABLE|xcrun timed out|refused by simlock|is not available on this simlock/i.test(
message,
);