mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
More timeouts ...
This commit is contained in:
parent
1b42eb2c1a
commit
da34cf1ec1
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue