fix(android-qa): await network transitions and recorder termination

This commit is contained in:
NINI
2026-10-05 22:30:19 +09:00
parent 4081a1c1ed
commit 9f571a5c02
2 changed files with 28 additions and 6 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ try {
Start-Sleep -Milliseconds 100
}
if (!$ready) { if (!$process.HasExited) { $process.Kill(); $process.WaitForExit() }; throw 'Android PCM recorder did not report recording started' }
if (!$process.WaitForExit(($Seconds+20)*1000)) { $process.Kill();throw 'Android PCM 녹음 종료 시간 초과' }
if (!$process.WaitForExit(($Seconds+20)*1000)) { $process.Kill();$process.WaitForExit();throw 'Android PCM 녹음 종료 시간 초과' }
$process.Refresh();$record.exitCode=$process.ExitCode
if ($process.ExitCode -ne 0) { throw "Android PCM recorder exit $($process.ExitCode)" }
Add-Type -TypeDefinition @'