255 references to DefaultTimeout
InMemory.FunctionalTests (3)
KestrelMetricsTests.cs (1)
658var shutdownTask = server.DisposeAsync().DefaultTimeout();
RequestTests.cs (2)
2270await connection.Stream.WriteAsync(new byte[] { 0x16, 0x03, 0x01, 0x02, 0x00, 0x01, 0x00, 0xfc, 0x03, 0x03, 0x03, 0xca, 0xe0, 0xfd, 0x0a }).DefaultTimeout(); 2305await connection.Stream.WriteAsync(Encoding.UTF32.GetBytes("£")).DefaultTimeout();
Interop.FunctionalTests (5)
Http3\Http3RequestTests.cs (5)
383await requestStream.WriteAsync(new byte[] { 1, 2, 3 }).DefaultTimeout(); 430await requestStream.WriteAsync(TestData).DefaultTimeout(); 502await requestStream.WriteAsync(TestData).DefaultTimeout(); 1026await requestStream.WriteAsync(TestData).DefaultTimeout(); 1128await requestStream.WriteAsync(data).DefaultTimeout();
Microsoft.AspNetCore.Http.Connections.Tests (13)
HttpConnectionDispatcherTests.cs (8)
2586var disposeTask = connection.DisposeAsync().DefaultTimeout(); 2647await connection.DisposeAsync().DefaultTimeout(); 2892await connection.DisposeAsync().DefaultTimeout(); 2997await connection.DisposeAsync().DefaultTimeout(); 3052await connection.DisposeAsync().DefaultTimeout(); 3087await connection.DisposeAsync().DefaultTimeout(); 3184await connection.DisposeAsync().DefaultTimeout(); 3592await connection.DisposeAsync().DefaultTimeout();
HttpConnectionManagerTests.cs (5)
121await connection.DisposeAsync(closeGracefully).DefaultTimeout(); 325var exception = await Assert.ThrowsAsync<InvalidOperationException>(async () => await firstTask.DefaultTimeout()); 328exception = await Assert.ThrowsAsync<InvalidOperationException>(async () => await secondTask.DefaultTimeout()); 352await Assert.ThrowsAsync<TaskCanceledException>(async () => await firstTask.DefaultTimeout()); 353await Assert.ThrowsAsync<TaskCanceledException>(async () => await secondTask.DefaultTimeout());
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (5)
ConcurrentPipeWriterTests.cs (5)
74await completeTask.DefaultTimeout(); 164await completeTask.DefaultTimeout(); 256await completeTask.DefaultTimeout(); 318await completeTask.DefaultTimeout(); 407await completeTask.DefaultTimeout();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (25)
QuicConnectionContextTests.cs (9)
298await quicConnection.CloseAsync((long)Http3ErrorCode.NoError).DefaultTimeout(); 329await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 372await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 417await clientStream.WriteAsync(TestData).DefaultTimeout(); 466await clientStream.WriteAsync(TestData).DefaultTimeout(); 607await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 678await clientStream1.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 706await clientStream2.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 756await clientStream.WriteAsync(TestData).DefaultTimeout();
QuicConnectionListenerTests.cs (1)
130await clientStream.WriteAsync(TestData).DefaultTimeout();
QuicStreamContextTests.cs (14)
68await clientStream.WriteAsync(TestData).DefaultTimeout(); 73await clientStream.WriteAsync(TestData).DefaultTimeout(); 117await clientStream.WriteAsync(TestData).DefaultTimeout(); 150await disposeTask.DefaultTimeout(); 185await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 219await quicStreamContext.DisposeAsync().DefaultTimeout(); 263await clientStream.WriteAsync(TestData).DefaultTimeout(); 307await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 341await clientStream.WriteAsync(TestData).DefaultTimeout(); 380await clientStream.WriteAsync(TestData).DefaultTimeout(); 388await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout(); 496await clientStream.WriteAsync(TestData).DefaultTimeout(); 546await clientStream.WriteAsync(TestData).DefaultTimeout(); 573await clientStream.WriteAsync(TestData).DefaultTimeout();
QuicTestHelpers.cs (1)
149await clientStream.WriteAsync(TestData, completeWrites: true).DefaultTimeout();
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (79)
HubConnectionTests.cs (69)
117await connection.DisposeAsync().DefaultTimeout(); 153await connection.DisposeAsync().DefaultTimeout(); 182await connection.DisposeAsync().DefaultTimeout(); 211await connection.DisposeAsync().DefaultTimeout(); 239await connection.DisposeAsync().DefaultTimeout(); 271await connection.DisposeAsync().DefaultTimeout(); 306await connection.DisposeAsync().DefaultTimeout(); 369await connection.DisposeAsync().DefaultTimeout(); 398await connection.DisposeAsync().DefaultTimeout(); 438await connection.DisposeAsync().DefaultTimeout(); 473await connection.DisposeAsync().DefaultTimeout(); 519await connection.DisposeAsync().DefaultTimeout(); 554await connection.DisposeAsync().DefaultTimeout(); 591await connection.DisposeAsync().DefaultTimeout(); 633await connection.DisposeAsync().DefaultTimeout(); 675await connection.DisposeAsync().DefaultTimeout(); 709await connection.DisposeAsync().DefaultTimeout(); 741await connection.DisposeAsync().DefaultTimeout(); 751await connection.DisposeAsync().DefaultTimeout(); 781await connection.DisposeAsync().DefaultTimeout(); 818await connection.DisposeAsync().DefaultTimeout(); 865await connection.DisposeAsync().DefaultTimeout(); 918await connection.DisposeAsync().DefaultTimeout(); 959await connection.DisposeAsync().DefaultTimeout(); 1000await connection.DisposeAsync().DefaultTimeout(); 1030await connection.DisposeAsync().DefaultTimeout(); 1064await connection.DisposeAsync().DefaultTimeout(); 1091await connection.DisposeAsync().DefaultTimeout(); 1118await connection.DisposeAsync().DefaultTimeout(); 1145await connection.DisposeAsync().DefaultTimeout(); 1172await connection.DisposeAsync().DefaultTimeout(); 1200await connection.DisposeAsync().DefaultTimeout(); 1228await connection.DisposeAsync().DefaultTimeout(); 1256await connection.DisposeAsync().DefaultTimeout(); 1283await connection.DisposeAsync().DefaultTimeout(); 1310await connection.DisposeAsync().DefaultTimeout(); 1337await connection.DisposeAsync().DefaultTimeout(); 1386await connection.DisposeAsync().DefaultTimeout(); 1440await connection.DisposeAsync().DefaultTimeout(); 1466await connection.DisposeAsync().DefaultTimeout(); 1503await hubConnection.DisposeAsync().DefaultTimeout(); 1530await hubConnection.DisposeAsync().DefaultTimeout(); 1558await hubConnection.DisposeAsync().DefaultTimeout(); 1590await hubConnection.DisposeAsync().DefaultTimeout(); 1632await hubConnection.DisposeAsync().DefaultTimeout(); 1667await hubConnection.DisposeAsync().DefaultTimeout(); 1702await hubConnection.DisposeAsync().DefaultTimeout(); 1737await hubConnection.DisposeAsync().DefaultTimeout(); 1788await hubConnection.DisposeAsync().DefaultTimeout(); 1847await hubConnection.DisposeAsync().DefaultTimeout(); 1898await hubConnection.DisposeAsync().DefaultTimeout(); 1955await hubConnection.DisposeAsync().DefaultTimeout(); 1990await hubConnection.DisposeAsync().DefaultTimeout(); 2026await hubConnection.DisposeAsync().DefaultTimeout(); 2057await hubConnection.DisposeAsync().DefaultTimeout(); 2087await hubConnection.DisposeAsync().DefaultTimeout(); 2190await connection.DisposeAsync().DefaultTimeout(); 2250await connection.DisposeAsync().DefaultTimeout(); 2316await connection.DisposeAsync().DefaultTimeout(); 2399await hubConnection.DisposeAsync().DefaultTimeout(); 2452await hubConnection.DisposeAsync().DefaultTimeout(); 2495await hubConnection.DisposeAsync().DefaultTimeout(); 2545await hubConnection.DisposeAsync().DefaultTimeout(); 2604await connection.DisposeAsync().DefaultTimeout(); 2673await connection.DisposeAsync().DefaultTimeout(); 2746await connection.DisposeAsync().DefaultTimeout(); 2798await connection.DisposeAsync().DefaultTimeout(); 2840await connection.DisposeAsync().DefaultTimeout(); 2918await connection.DisposeAsync().DefaultTimeout();
HubConnectionTests.Tracing.cs (6)
125await connection.DisposeAsync().DefaultTimeout(); 297await connection.DisposeAsync().DefaultTimeout(); 426await connection.DisposeAsync().DefaultTimeout(); 523await connection.DisposeAsync().DefaultTimeout(); 618await connection.DisposeAsync().DefaultTimeout(); 717await connection.DisposeAsync().DefaultTimeout();
HubProtocolVersionTests.cs (4)
62await connection.DisposeAsync().DefaultTimeout(); 95await connection.DisposeAsync().DefaultTimeout(); 155await connection.DisposeAsync().DefaultTimeout(); 192await connection.DisposeAsync().DefaultTimeout();
Microsoft.AspNetCore.SignalR.Client.Tests (104)
HttpConnectionTests.ConnectionLifecycle.cs (6)
67await connection.DisposeAsync().DefaultTimeout(); 182await connection.DisposeAsync().DefaultTimeout(); 216await disposeTask.DefaultTimeout(); 247await stopTask.DefaultTimeout(); 248await disposeTask.DefaultTimeout(); 274await connection.DisposeAsync().DefaultTimeout();
HttpConnectionTests.Helpers.cs (1)
79await connection.DisposeAsync().DefaultTimeout();
HttpConnectionTests.Transport.cs (2)
275await connection.DisposeAsync().DefaultTimeout(); 292await connection.DisposeAsync().DefaultTimeout();
HubConnectionTests.ConnectionLifecycle.cs (6)
521await hubConnection.DisposeAsync().DefaultTimeout(); 522await connection.DisposeAsync().DefaultTimeout(); 548await hubConnection.DisposeAsync().DefaultTimeout(); 549await connection.DisposeAsync().DefaultTimeout(); 598await hubConnection.DisposeAsync().DefaultTimeout(); 599await connection.DisposeAsync().DefaultTimeout();
HubConnectionTests.cs (2)
397await hubConnection.DisposeAsync().DefaultTimeout(); 790await connection.DisposeAsync().DefaultTimeout();
HubConnectionTests.Extensions.cs (6)
237await hubConnection.DisposeAsync().DefaultTimeout(); 275await hubConnection.DisposeAsync().DefaultTimeout(); 317await hubConnection.DisposeAsync().DefaultTimeout(); 355await hubConnection.DisposeAsync().DefaultTimeout(); 397await hubConnection.DisposeAsync().DefaultTimeout(); 700await hubConnection.DisposeAsync().DefaultTimeout();
HubConnectionTests.Protocol.cs (71)
37await hubConnection.DisposeAsync().DefaultTimeout(); 38await connection.DisposeAsync().DefaultTimeout(); 61await hubConnection.DisposeAsync().DefaultTimeout(); 62await connection.DisposeAsync().DefaultTimeout(); 89await hubConnection.DisposeAsync().DefaultTimeout(); 90await connection.DisposeAsync().DefaultTimeout(); 112await hubConnection.DisposeAsync().DefaultTimeout(); 113await connection.DisposeAsync().DefaultTimeout(); 137await hubConnection.DisposeAsync().DefaultTimeout(); 138await connection.DisposeAsync().DefaultTimeout(); 166await hubConnection.DisposeAsync().DefaultTimeout(); 167await connection.DisposeAsync().DefaultTimeout(); 196await hubConnection.DisposeAsync().DefaultTimeout(); 222await hubConnection.DisposeAsync().DefaultTimeout(); 223await connection.DisposeAsync().DefaultTimeout(); 244await hubConnection.DisposeAsync().DefaultTimeout(); 245await connection.DisposeAsync().DefaultTimeout(); 266await hubConnection.DisposeAsync().DefaultTimeout(); 267await connection.DisposeAsync().DefaultTimeout(); 288await hubConnection.DisposeAsync().DefaultTimeout(); 289await connection.DisposeAsync().DefaultTimeout(); 311await hubConnection.DisposeAsync().DefaultTimeout(); 312await connection.DisposeAsync().DefaultTimeout(); 334await hubConnection.DisposeAsync().DefaultTimeout(); 335await connection.DisposeAsync().DefaultTimeout(); 357await hubConnection.DisposeAsync().DefaultTimeout(); 358await connection.DisposeAsync().DefaultTimeout(); 380await hubConnection.DisposeAsync().DefaultTimeout(); 381await connection.DisposeAsync().DefaultTimeout(); 407await hubConnection.DisposeAsync().DefaultTimeout(); 408await connection.DisposeAsync().DefaultTimeout(); 431await hubConnection.DisposeAsync().DefaultTimeout(); 432await connection.DisposeAsync().DefaultTimeout(); 463await hubConnection.DisposeAsync().DefaultTimeout(); 464await connection.DisposeAsync().DefaultTimeout(); 497await hubConnection.DisposeAsync().DefaultTimeout(); 498await connection.DisposeAsync().DefaultTimeout(); 526await hubConnection.DisposeAsync().DefaultTimeout(); 527await connection.DisposeAsync().DefaultTimeout(); 554await hubConnection.DisposeAsync().DefaultTimeout(); 555await connection.DisposeAsync().DefaultTimeout(); 582await hubConnection.DisposeAsync().DefaultTimeout(); 583await connection.DisposeAsync().DefaultTimeout(); 618await hubConnection.DisposeAsync().DefaultTimeout(); 619await connection.DisposeAsync().DefaultTimeout(); 644await hubConnection.DisposeAsync().DefaultTimeout(); 645await connection.DisposeAsync().DefaultTimeout(); 664await hubConnection.DisposeAsync().DefaultTimeout(); 665await connection.DisposeAsync().DefaultTimeout(); 673await hubConnection.DisposeAsync().DefaultTimeout(); 674await connection.DisposeAsync().DefaultTimeout(); 697await hubConnection.DisposeAsync().DefaultTimeout(); 698await connection.DisposeAsync().DefaultTimeout(); 718await hubConnection.DisposeAsync().DefaultTimeout(); 719await connection.DisposeAsync().DefaultTimeout(); 745await hubConnection.DisposeAsync().DefaultTimeout(); 746await connection.DisposeAsync().DefaultTimeout(); 772await hubConnection.DisposeAsync().DefaultTimeout(); 773await connection.DisposeAsync().DefaultTimeout(); 801await hubConnection.DisposeAsync().DefaultTimeout(); 802await connection.DisposeAsync().DefaultTimeout(); 823await hubConnection.DisposeAsync().DefaultTimeout(); 824await connection.DisposeAsync().DefaultTimeout(); 848await hubConnection.DisposeAsync().DefaultTimeout(); 849await connection.DisposeAsync().DefaultTimeout(); 873await hubConnection.DisposeAsync().DefaultTimeout(); 874await connection.DisposeAsync().DefaultTimeout(); 898await hubConnection.DisposeAsync().DefaultTimeout(); 899await connection.DisposeAsync().DefaultTimeout(); 929await hubConnection.DisposeAsync().DefaultTimeout(); 930await connection.DisposeAsync().DefaultTimeout();
HubConnectionTests.Tracing.cs (10)
53await hubConnection.DisposeAsync().DefaultTimeout(); 54await connection.DisposeAsync().DefaultTimeout(); 91await hubConnection.DisposeAsync().DefaultTimeout(); 92await connection.DisposeAsync().DefaultTimeout(); 125await hubConnection.DisposeAsync().DefaultTimeout(); 126await connection.DisposeAsync().DefaultTimeout(); 163await hubConnection.DisposeAsync().DefaultTimeout(); 164await connection.DisposeAsync().DefaultTimeout(); 214await hubConnection.DisposeAsync().DefaultTimeout(); 215await connection.DisposeAsync().DefaultTimeout();
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (9)
RedisEndToEnd.cs (9)
53await connection.DisposeAsync().DefaultTimeout(); 85await connection.DisposeAsync().DefaultTimeout(); 113await connection.DisposeAsync().DefaultTimeout(); 114await secondConnection.DisposeAsync().DefaultTimeout(); 138await secondConnection.DisposeAsync().DefaultTimeout(); 143await firstConnection.DisposeAsync().DefaultTimeout(); 178await connection.DisposeAsync().DefaultTimeout(); 210await connection.DisposeAsync().DefaultTimeout(); 211await secondConnection.DisposeAsync().DefaultTimeout();
Microsoft.AspNetCore.SignalR.Tests (12)
EndToEndTests.cs (12)
46await connection.DisposeAsync().DefaultTimeout(); 68await connection.DisposeAsync().DefaultTimeout(); 82await connection.DisposeAsync().DefaultTimeout(); 206await connection.DisposeAsync().DefaultTimeout(); 250await connection.DisposeAsync().DefaultTimeout(); 304await connection.DisposeAsync().DefaultTimeout(); 365await connection.DisposeAsync().DefaultTimeout(); 456await connection.DisposeAsync().DefaultTimeout(); 505await connection.DisposeAsync().DefaultTimeout(); 591await connection.DisposeAsync().DefaultTimeout(); 630await connection.DisposeAsync().DefaultTimeout(); 677await connection.DisposeAsync().DefaultTimeout();