diff --git a/FFMpegCore.Test/VideoTest.cs b/FFMpegCore.Test/VideoTest.cs index a2a3bea..3a09f0c 100644 --- a/FFMpegCore.Test/VideoTest.cs +++ b/FFMpegCore.Test/VideoTest.cs @@ -320,7 +320,7 @@ public void Video_ToMP4_Args_StreamOutputPipe_Failure() } - [TestMethod] + [TestMethod, Timeout(10000)] public void Video_ToMP4_Args_StreamOutputPipe_Async() { using var ms = new MemoryStream(); @@ -348,7 +348,7 @@ await FFMpegArguments.FromFileInput(VideoLibrary.LocalVideo) File.Delete("temporary.mp4"); } - [TestMethod] + [TestMethod, Timeout(10000)] public void Video_ToMP4_Args_StreamOutputPipe() { ConvertToStreamPipe(new VideoCodecArgument(VideoCodec.LibX264), new ForceFormatArgument("matroska")); @@ -369,7 +369,7 @@ public void Video_ToTS_Args() new ForceFormatArgument(VideoType.MpegTs)); } - [DataTestMethod] + [DataTestMethod, Timeout(10000)] [DataRow(System.Drawing.Imaging.PixelFormat.Format24bppRgb)] [DataRow(System.Drawing.Imaging.PixelFormat.Format32bppArgb)] // [DataRow(PixelFormat.Format48bppRgb)] @@ -390,7 +390,7 @@ public void Video_ToOGV_Resize_Args() Convert(VideoType.Ogv, new ScaleArgument(VideoSize.Ed), new VideoCodecArgument(VideoCodec.LibTheora)); } - [DataTestMethod] + [DataTestMethod, Timeout(10000)] [DataRow(System.Drawing.Imaging.PixelFormat.Format24bppRgb)] [DataRow(System.Drawing.Imaging.PixelFormat.Format32bppArgb)] // [DataRow(PixelFormat.Format48bppRgb)] @@ -411,7 +411,7 @@ public void Video_ToMP4_Resize_Args() Convert(VideoType.Mp4, new ScaleArgument(VideoSize.Ld), new VideoCodecArgument(VideoCodec.LibX264)); } - [DataTestMethod] + [DataTestMethod, Timeout(10000)] [DataRow(System.Drawing.Imaging.PixelFormat.Format24bppRgb)] [DataRow(System.Drawing.Imaging.PixelFormat.Format32bppArgb)] // [DataRow(PixelFormat.Format48bppRgb)]