Skip to content

Commit

Permalink
Make test less taxing on CI runners
Browse files Browse the repository at this point in the history
  • Loading branch information
atruskie committed Aug 16, 2023
1 parent 008ee3d commit 429a98f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Acoustics.Test/Shared/ProcessRunnerTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ public class ProcessRunnerTests : OutputDirectoryTest
[RetryTestMethod(3)]
public void ProcessRunnerDoesNotDeadlock()
{
var result = Enumerable.Range(0, 50).AsParallel().Select(this.RunFfprobe).ToArray();
var runs = TestHelper.OnContinuousIntegrationServer ? 10 : 50;
var result = Enumerable.Range(0, runs).AsParallel().Select(this.RunFfprobe).ToArray();

Assert.IsTrue(result.All());
}
Expand Down

0 comments on commit 429a98f

Please sign in to comment.