Improved unit tests for FFmpegRunner #240
GitHub Actions / Palaso Tests
failed
Dec 6, 2024 in 0s
1 fail, 233 skipped, 4 651 pass in 15m 14s
Annotations
Check warning on line 0 in SIL.Media.Tests.AudioSessionTests
github-actions / Palaso Tests
1 out of 2 runs failed: Play_DoesPlayMp3_SmokeTest (SIL.Media.Tests.AudioSessionTests)
artifacts/Test results (net462)/results_net462_20241206050432.trx [took 0s]
Raw output
Expected: No Exception to be thrown
But was: <System.UnauthorizedAccessException: Access to the path 'C:\Users\runneradmin\AppData\Local\Temp\34ox34ye.mp3' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at SIL.Code.RetryUtility.<>c__DisplayClass3_0.<Retry>b__0() in D:\a\libpalaso\libpalaso\SIL.Core\Code\RetryUtility.cs:line 30
at SIL.Code.RetryUtility.Retry[T](Func`1 action, Int32 maxRetryAttempts, Int32 retryDelay, ISet`1 exceptionTypesToRetry, String memo) in D:\a\libpalaso\libpalaso\SIL.Core\Code\RetryUtility.cs:line 76
at SIL.Code.RetryUtility.Retry(Action action, Int32 maxRetryAttempts, Int32 retryDelay, ISet`1 exceptionTypesToRetry, String memo) in D:\a\libpalaso\libpalaso\SIL.Core\Code\RetryUtility.cs:line 32
at SIL.IO.RobustFile.Delete(String path) in D:\a\libpalaso\libpalaso\SIL.Core\IO\RobustFile.cs:line 143
at SIL.IO.TempFile.Dispose() in D:\a\libpalaso\libpalaso\SIL.Core\IO\TempFile.cs:line 187
at SIL.Media.WindowsAudioSession.OnPlaybackStopped(Object sender, StoppedEventArgs args) in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 132
at SIL.Media.WindowsAudioSession.StopPlaying() in D:\a\libpalaso\libpalaso\SIL.Media\WindowsAudioSession.cs:line 271
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at NUnit.Framework.Internal.ExceptionHelper.Rethrow(Exception exception)
at NUnit.Framework.Internal.Reflect.DynamicInvokeWithTransparentExceptions(Delegate delegate)
at NUnit.Framework.Internal.ExceptionHelper.RecordException(Delegate parameterlessDelegate, String parameterName)>
at SIL.Media.Tests.AudioSessionTests.Play_DoesPlayMp3_SmokeTest() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 446
1) at SIL.Media.Tests.AudioSessionTests.Play_DoesPlayMp3_SmokeTest() in D:\a\libpalaso\libpalaso\SIL.Media.Tests\AudioSessionTests.cs:line 446
Loading