5 references to TimeoutAfter
Aspire.Hosting.Tests (5)
ExpressionResolverTests.cs (1)
255_ = await EnvironmentVariableEvaluator.GetEnvironmentVariablesAsync(consumer.Resource, DistributedApplicationOperation.Run, TestServiceProvider.Instance).AsTask().TimeoutAfter(TimeSpan.FromSeconds(2));
tests\Shared\AsyncTestHelpers.cs (4)
103return task.TimeoutAfter(TimeSpan.FromMilliseconds(milliseconds), filePath, lineNumber); 108return task.TimeoutAfter(timeout, filePath, lineNumber); 118return task.AsTask().TimeoutAfter(TimeSpan.FromMilliseconds(milliseconds), filePath, lineNumber); 123return task.AsTask().TimeoutAfter(timeout, filePath, lineNumber);