summaryrefslogtreecommitdiff
path: root/csharp/test
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-09-16 11:22:03 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-09-19 14:50:12 +0200
commit909675f8719fa76245727f681a8ab80f04041f95 (patch)
treed3f9a13fa561ee764e559a172f7b40b06836a119 /csharp/test
parentFix typo (diff)
downloadice-909675f8719fa76245727f681a8ab80f04041f95.tar.bz2
ice-909675f8719fa76245727f681a8ab80f04041f95.tar.xz
ice-909675f8719fa76245727f681a8ab80f04041f95.zip
Fixed ICE-7317 - timeout test failure
Diffstat (limited to 'csharp/test')
-rw-r--r--csharp/test/Ice/timeout/AllTests.cs8
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)