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