diff --git a/test/integration/android-emulator-e2e/live-harness.ts b/test/integration/android-emulator-e2e/live-harness.ts index 93ad8cad96..3f944c9637 100644 --- a/test/integration/android-emulator-e2e/live-harness.ts +++ b/test/integration/android-emulator-e2e/live-harness.ts @@ -42,6 +42,8 @@ export function createContext(): LiveContext { const execFileAsync = promisify(execFile); const ROTATION_PROBE_TIMEOUT_MS = 5_000; +/** Lines read back from logcat; the rotation decisions of the last few minutes fit comfortably. */ +const ROTATION_LOG_TAIL = 4_000; const ROTATION_LOG_LINES = 60; const ROTATION_LOG_LINE_LENGTH = 240; @@ -56,7 +58,9 @@ async function readAndroidRotationEvidence(context: LiveContext): Promise