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