77 references to TestTimeout
Client.ChannelLayer.IntegrationTests (6)
DuplexChannelWithSynchronizationContext.cs (6)
65
Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.
TestTimeout
));
130
Assert.True(syncCtxTask.Wait(ScenarioTestHelpers.
TestTimeout
));
157
}).Wait(ScenarioTestHelpers.
TestTimeout
* 100);
222
}).Wait(ScenarioTestHelpers.
TestTimeout
* 100);
278
if (_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
282
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)
77
Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
78
String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
89
Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
90
String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
95
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
96
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
152
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
153
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
157
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
158
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
163
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
164
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
224
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
225
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
229
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
230
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
235
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
236
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
318
Assert.True(clientReceiver.ReceiveStreamInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
319
String.Format("Test case timeout was reached while waiting for the stream response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
330
Assert.True(clientReceiver.ReceiveStreamCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
331
String.Format("Test case timeout was reached while waiting for the stream response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
336
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
337
String.Format("Test case timeout was reached while waiting for the Logging from the Service to be received. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
397
Assert.True(clientReceiver.ReceiveDataInvoked.WaitOne(ScenarioTestHelpers.
TestTimeout
),
398
String.Format("Test case timeout was reached while waiting for the buffered response from the Service. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
402
Assert.True(clientReceiver.ReceiveDataCompleted.WaitOne(ScenarioTestHelpers.
TestTimeout
),
403
String.Format("Test case timeout was reached while waiting for the buffered response from the Service to be completed. Timeout was: {0}", ScenarioTestHelpers.
TestTimeout
));
408
Assert.True(clientReceiver.LogReceived.WaitOne(ScenarioTestHelpers.
TestTimeout
),
409
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)
937
if (_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
941
throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.
TestTimeout
));
949
if (_xml_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
953
throw new TimeoutException(string.Format("Not completed within the alloted time of {0}", ScenarioTestHelpers.
TestTimeout
));
961
if (_datacontract_tcs.Task.Wait(ScenarioTestHelpers.
TestTimeout
))
965
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)
387
}).Wait(ScenarioTestHelpers.
TestTimeout
);
405
}).Wait(ScenarioTestHelpers.
TestTimeout
);