13 references to TestConstants
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (13)
Http1\Http1ConnectionTests.cs (11)
800Assert.True(originalToken.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 801Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 817Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 832Assert.True(originalToken.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 833Assert.True(_http1Connection.RequestAborted.WaitHandle.WaitOne(TestConstants.DefaultTimeout)); 878await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders != null); 882await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders.Count >= header0Count); 886await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders.Count >= header0Count + header1Count); 910await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders != null); 918await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders.Count >= header0Count); 923await WaitForCondition(TestConstants.DefaultTimeout, () => _http1Connection.RequestHeaders.Count >= header0Count + header1Count);
KestrelServerTests.cs (1)
645var timeout = TestConstants.DefaultTimeout;
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
67ShutdownTimeout = TestConstants.DefaultTimeout;