Add more timeout attributes

Former-commit-id: 2bacf6232b
This commit is contained in:
Malte Rosenbjerg 2020-10-25 17:26:43 +01:00
parent f7e787a7d5
commit 88a099523d

View file

@ -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)]