14 references to DefaultTimeout
Sockets.FunctionalTests (14)
src\Servers\Kestrel\shared\test\TestServiceContext.cs (1)
67ShutdownTimeout = TestConstants.DefaultTimeout;
src\Servers\Kestrel\shared\test\TransportTestHelpers\TestServer.cs (2)
107.UseSetting(WebHostDefaults.ShutdownTimeoutKey, TestConstants.DefaultTimeout.TotalSeconds.ToString(CultureInfo.InvariantCulture)) 114option.ShutdownTimeout = TestConstants.DefaultTimeout;
src\Servers\Kestrel\test\FunctionalTests\MaxRequestBufferSizeTests.cs (2)
210await memoryPoolFactory.WhenAllBlocksReturned(TestConstants.DefaultTimeout); 292await memoryPoolFactory.WhenAllBlocksReturned(TestConstants.DefaultTimeout);
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (9)
276Assert.True(await connectionStarted.WaitAsync(TestConstants.DefaultTimeout)); 284Assert.True(await connectionReadFin.WaitAsync(TestConstants.DefaultTimeout)); 328Assert.True(await connectionStarted.WaitAsync(TestConstants.DefaultTimeout)); 337Assert.True(await connectionReset.WaitAsync(TestConstants.DefaultTimeout)); 393Assert.True(await connectionReadFin.WaitAsync(TestConstants.DefaultTimeout)); 454Assert.True(await connectionReset.WaitAsync(TestConstants.DefaultTimeout)); 507Assert.True(await requestStarted.WaitAsync(TestConstants.DefaultTimeout), "request should have started"); 512Assert.True(await connectionReadFin.WaitAsync(TestConstants.DefaultTimeout), "Connection close event should have been logged"); 522Assert.True(await connectionReset.WaitAsync(TestConstants.DefaultTimeout), "Connection reset event should have been logged");