fix(android-qa): await network transitions and recorder termination
This commit is contained in:
@@ -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 @'
|
||||
|
||||
Reference in New Issue
Block a user