77 references to TestTimeout
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelWithSynchronizationContext.cs (6)
65Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.TestTimeout)); 130Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.TestTimeout)); 157}).Wait(ScenarioTestHelpers.TestTimeout * 100); 222}).Wait(ScenarioTestHelpers.TestTimeout * 100); 278if (_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 282throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.0.0.cs (1)
359TimeSpan timeout = ScenarioTestHelpers.TestTimeout;
Client.ExpectedExceptions.IntegrationTests (4)
ExpectedExceptionTests.4.1.0.cs (4)
254if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout)) 260throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout)); 306if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout)) 312throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.TestTimeout));
Client.TypedClient.IntegrationTests (8)
TypedProxyTests.4.0.0.cs (6)
74}).Wait(ScenarioTestHelpers.TestTimeout); 108}).Wait(ScenarioTestHelpers.TestTimeout); 162}).Wait(ScenarioTestHelpers.TestTimeout); 198}).Wait(ScenarioTestHelpers.TestTimeout); 480bool success = waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout); 514bool success = ar.AsyncWaitHandle.WaitOne(ScenarioTestHelpers.TestTimeout);
TypedProxyTests.4.1.0.cs (2)
28}).Wait(ScenarioTestHelpers.TestTimeout); 42}).Wait(ScenarioTestHelpers.TestTimeout);
Contract.Service.IntegrationTests (20)
ServiceContractTests.4.0.0.cs (10)
49Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 96Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 142Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 190Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.TestTimeout), "AsyncCallback was not called."); 303binding.OpenTimeout = ScenarioTestHelpers.TestTimeout; 338}).Wait(ScenarioTestHelpers.TestTimeout); 391}).Wait(ScenarioTestHelpers.TestTimeout); 409binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 442}).Wait(ScenarioTestHelpers.TestTimeout); 492}).Wait(ScenarioTestHelpers.TestTimeout);
ServiceContractTests.4.1.0.cs (10)
212}).Wait(ScenarioTestHelpers.TestTimeout); 226}).Wait(ScenarioTestHelpers.TestTimeout); 616}).Wait(ScenarioTestHelpers.TestTimeout); 630}).Wait(ScenarioTestHelpers.TestTimeout); 690binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 691binding.SendTimeout = ScenarioTestHelpers.TestTimeout; 780binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 781binding.SendTimeout = ScenarioTestHelpers.TestTimeout; 870binding.CloseTimeout = ScenarioTestHelpers.TestTimeout; 871binding.SendTimeout = ScenarioTestHelpers.TestTimeout;
Extensibility.WebSockets.IntegrationTests (30)
WebSocketTests.4.1.0.cs (30)
77Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 78String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 89Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 90String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 95Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 96String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 152Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 153String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 157Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 158String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 163Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 164String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 220Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 221String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 225Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 226String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 231Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 232String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 310Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 311String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 322Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 323String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 328Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 329String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 389Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.TestTimeout), 390String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 394Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.TestTimeout), 395String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.TestTimeout)); 400Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.TestTimeout), 401String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.TestTimeout));
ScenarioTests.Common.Tests (6)
ScenarioTestTypes.cs (6)
937if (_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 941throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 949if (_xml_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 953throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout)); 961if (_datacontract_tcs.Task.Wait(ScenarioTestHelpers.TestTimeout)) 965throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.TestTimeout));
Security.TransportSecurity.IntegrationTests (2)
Tcp\StreamingTests.4.1.0.cs (2)
387}).Wait(ScenarioTestHelpers.TestTimeout); 405}).Wait(ScenarioTestHelpers.TestTimeout);