diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-09-16 11:22:03 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-09-19 14:50:12 +0200 |
commit | 909675f8719fa76245727f681a8ab80f04041f95 (patch) | |
tree | d3f9a13fa561ee764e559a172f7b40b06836a119 /java | |
parent | Fix typo (diff) | |
download | ice-909675f8719fa76245727f681a8ab80f04041f95.tar.bz2 ice-909675f8719fa76245727f681a8ab80f04041f95.tar.xz ice-909675f8719fa76245727f681a8ab80f04041f95.zip |
Fixed ICE-7317 - timeout test failure
Diffstat (limited to 'java')
-rw-r--r-- | java/test/src/main/java/test/Ice/timeout/AllTests.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/src/main/java/test/Ice/timeout/AllTests.java b/java/test/src/main/java/test/Ice/timeout/AllTests.java index facbe176e24..d46cf1133fc 100644 --- a/java/test/src/main/java/test/Ice/timeout/AllTests.java +++ b/java/test/src/main/java/test/Ice/timeout/AllTests.java @@ -466,10 +466,10 @@ public class AllTests initData.properties.setProperty("Ice.Override.CloseTimeout", "100"); Ice.Communicator comm = app.initialize(initData); comm.stringToProxy(sref).ice_getConnection(); - timeout.holdAdapter(500); + timeout.holdAdapter(800); long now = System.nanoTime(); comm.destroy(); - test(System.nanoTime() - now < 400 * 1000000); + test(System.nanoTime() - now < 700 * 1000000); } out.println("ok"); @@ -485,7 +485,7 @@ public class AllTests proxy = (TimeoutPrx)proxy.ice_invocationTimeout(100); try { - proxy.sleep(300); + proxy.sleep(500); test(false); } catch(Ice.InvocationTimeoutException ex) |