More timeouts ...

This commit is contained in:
Malte Rosenbjerg 2020-10-25 17:42:50 +01:00
parent 1b42eb2c1a
commit da34cf1ec1

View file

@ -44,7 +44,7 @@ public void Probe_Success()
Assert.AreEqual("Main", info.PrimaryVideoStream.Profile); Assert.AreEqual("Main", info.PrimaryVideoStream.Profile);
} }
[TestMethod] [TestMethod, Timeout(10000)]
public async Task Probe_Async_Success() public async Task Probe_Async_Success()
{ {
var info = await FFProbe.AnalyseAsync(VideoLibrary.LocalVideo.FullName); var info = await FFProbe.AnalyseAsync(VideoLibrary.LocalVideo.FullName);
@ -59,7 +59,7 @@ public void Probe_Success_FromStream()
Assert.AreEqual(3, info.Duration.Seconds); Assert.AreEqual(3, info.Duration.Seconds);
} }
[TestMethod] [TestMethod, Timeout(10000)]
public async Task Probe_Success_FromStream_Async() public async Task Probe_Success_FromStream_Async()
{ {
await using var stream = File.OpenRead(VideoLibrary.LocalVideoWebm.FullName); await using var stream = File.OpenRead(VideoLibrary.LocalVideoWebm.FullName);