2 references to ExpectedTimeout
Microsoft.AspNetCore.InternalTesting.Tests (2)
TaskExtensionsTest.cs (2)
72
var exception = await Assert.ThrowsAsync<TimeoutException>(() =>
ExpectedTimeout
().TimeoutAfter(TimeSpan.FromMilliseconds(30000)));
85
var exception = await Assert.ThrowsAsync<TimeoutException>(() =>
ExpectedTimeout
().TimeoutAfter(TimeSpan.FromMilliseconds(30000)));