diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-08-29 17:54:08 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-08-29 17:54:08 +0200 |
commit | 1cd5fdc5aac9e6d718ee25177c4524f125736235 (patch) | |
tree | d47957f4158fa07b622ec11e93a4fda035daf468 /java | |
parent | Fixed whitespace (diff) | |
download | ice-1cd5fdc5aac9e6d718ee25177c4524f125736235.tar.bz2 ice-1cd5fdc5aac9e6d718ee25177c4524f125736235.tar.xz ice-1cd5fdc5aac9e6d718ee25177c4524f125736235.zip |
Minor timeout test fix to prevent failure, fixes #498
Diffstat (limited to 'java')
-rw-r--r-- | java/test/src/main/java/test/Ice/timeout/AllTests.java | 17 |
1 files changed, 1 insertions, 16 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 80f99bc89c8..80198c0e85c 100644 --- a/java/test/src/main/java/test/Ice/timeout/AllTests.java +++ b/java/test/src/main/java/test/Ice/timeout/AllTests.java @@ -510,22 +510,7 @@ public class AllTests batchTimeout.ice_ping(); batchTimeout.ice_ping(); batchTimeout.ice_ping(); - - proxy.ice_invocationTimeout(-1).sleepAsync(300); // Keep the server thread pool busy. - try - { - batchTimeout.ice_flushBatchRequests(); - test(false); - } - catch(com.zeroc.Ice.InvocationTimeoutException ex) - { - } - - batchTimeout.ice_ping(); - batchTimeout.ice_ping(); - batchTimeout.ice_ping(); - - proxy.ice_invocationTimeout(-1).sleepAsync(300); // Keep the server thread pool busy. + proxy.ice_invocationTimeout(-1).sleepAsync(500); // Keep the server thread pool busy. try { batchTimeout.ice_flushBatchRequestsAsync().join(); |