diff options
Diffstat (limited to 'csharp/test')
-rw-r--r-- | csharp/test/Ice/timeout/AllTests.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/csharp/test/Ice/timeout/AllTests.cs b/csharp/test/Ice/timeout/AllTests.cs index 835f5768ec2..28d2fed0be9 100644 --- a/csharp/test/Ice/timeout/AllTests.cs +++ b/csharp/test/Ice/timeout/AllTests.cs @@ -405,10 +405,10 @@ public class AllTests : TestCommon.TestApp initData.properties.setProperty("Ice.Override.CloseTimeout", "100"); Ice.Communicator comm = Ice.Util.initialize(initData); comm.stringToProxy(sref).ice_getConnection(); - timeout.holdAdapter(500); + timeout.holdAdapter(800); long begin = System.DateTime.Now.Ticks; comm.destroy(); - test(((long)new System.TimeSpan(System.DateTime.Now.Ticks - begin).TotalMilliseconds - begin) < 400); + test(((long)new System.TimeSpan(System.DateTime.Now.Ticks - begin).TotalMilliseconds - begin) < 700); } WriteLine("ok"); @@ -424,7 +424,7 @@ public class AllTests : TestCommon.TestApp proxy = (Test.TimeoutPrx)proxy.ice_invocationTimeout(100); try { - proxy.sleep(300); + proxy.sleep(500); test(false); } catch(Ice.InvocationTimeoutException) @@ -433,7 +433,7 @@ public class AllTests : TestCommon.TestApp try { - proxy.end_sleep(proxy.begin_sleep(300)); + proxy.end_sleep(proxy.begin_sleep(500)); test(false); } catch(Ice.InvocationTimeoutException) |