14 references to Wait
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
356
Assert.True(applicationStartedEvent.
Wait
(5000));
Microsoft.AspNetCore.Mvc.TagHelpers.Test (2)
CacheTagHelperTest.cs (2)
1006
Assert.True(ManualResetEvent1.
Wait
(WaitTimeout));
1034
Assert.True(ManualResetEvent2.
Wait
(WaitTimeout));
Microsoft.AspNetCore.WebSockets.Tests (7)
WebSocketMiddlewareTests.cs (7)
560
var socketWasAcceptedDidNotTimeout = socketWasAccepted.
Wait
(10000);
565
var firstReceiveOccuredDidNotTimeout = firstReceiveOccured.
Wait
(10000);
568
var secondReceiveInitiatedDidNotTimeout = secondReceiveInitiated.
Wait
(10000);
573
var socketWasAbortedDidNotTimeout = socketWasAborted.
Wait
(1000); // Give it a second to process the abort.
627
var socketWasAcceptedDidNotTimeout = socketWasAccepted.
Wait
(10000);
632
var firstReceiveOccuredDidNotTimeout = firstReceiveOccured.
Wait
(10000);
637
var operationWasCancelledDidNotTimeout = operationWasCancelled.
Wait
(1000); // Give it a second to process the abort.
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
ResourceMonitoringServiceTests.cs (1)
266
while (!e.
Wait
(10) && attempts++ < maxAttempts)
Sockets.BindTests (1)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (1)
1231
return mre.
Wait
(5000) && socketArgs.SocketError == SocketError.Success;
System.Net.Sockets (1)
System\Net\Sockets\SocketAsyncContext.Unix.cs (1)
1414
if (!e.
Wait
(timeout))
System.Threading (1)
System\Threading\ReaderWriterLock.cs (1)
198
waitSucceeded = readerEvent.
Wait
(millisecondsTimeout);