77 references to TestTimeout
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelWithSynchronizationContext.cs (6)
64
Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.
TestTimeout
));
128
Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.
TestTimeout
));
154
}).Wait(ScenarioTestHelpers.
TestTimeout
* 100);
219
}).Wait(ScenarioTestHelpers.
TestTimeout
* 100);
275
if (_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
279
throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.
TestTimeout
));
Client.ClientBase.IntegrationTests (1)
ClientBaseTests.4.0.0.cs (1)
359
TimeSpan timeout = ScenarioTestHelpers.
TestTimeout
;
Client.ExpectedExceptions.IntegrationTests (4)
ExpectedExceptionTests.4.1.0.cs (4)
253
if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.
TestTimeout
))
259
throw new TimeoutException(String.Format("The call to the Service did not complete within the alloted time of: {0}", ScenarioTestHelpers.
TestTimeout
));
305
if ((task as IAsyncResult).AsyncWaitHandle.WaitOne(ScenarioTestHelpers.
TestTimeout
))
311
throw 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
);
480
bool success = waitEvent.WaitOne(ScenarioTestHelpers.
TestTimeout
);
514
bool 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)
49
Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.
TestTimeout
), "AsyncCallback was not called.");
96
Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.
TestTimeout
), "AsyncCallback was not called.");
142
Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.
TestTimeout
), "AsyncCallback was not called.");
190
Assert.True(waitEvent.WaitOne(ScenarioTestHelpers.
TestTimeout
), "AsyncCallback was not called.");
303
binding.OpenTimeout = ScenarioTestHelpers.
TestTimeout
;
338
}).Wait(ScenarioTestHelpers.
TestTimeout
);
391
}).Wait(ScenarioTestHelpers.
TestTimeout
);
409
binding.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
);
690
binding.CloseTimeout = ScenarioTestHelpers.
TestTimeout
;
691
binding.SendTimeout = ScenarioTestHelpers.
TestTimeout
;
780
binding.CloseTimeout = ScenarioTestHelpers.
TestTimeout
;
781
binding.SendTimeout = ScenarioTestHelpers.
TestTimeout
;
870
binding.CloseTimeout = ScenarioTestHelpers.
TestTimeout
;
871
binding.SendTimeout = ScenarioTestHelpers.
TestTimeout
;
Extensibility.WebSockets.IntegrationTests (30)
WebSocketTests.4.1.0.cs (30)
76
Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
77
String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
88
Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
89
String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
94
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
95
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
151
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
152
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
156
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
157
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
162
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
163
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
219
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
220
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
224
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
225
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
230
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
231
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
308
Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
309
String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
320
Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
321
String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
326
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
327
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
386
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
387
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
391
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
392
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
397
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
398
String.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)
884
if (_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
888
throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.
TestTimeout
));
896
if (_xml_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
900
throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.
TestTimeout
));
908
if (_datacontract_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
912
throw 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)
395
}).Wait(ScenarioTestHelpers.
TestTimeout
);
414
}).Wait(ScenarioTestHelpers.
TestTimeout
);