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-compat | |
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-compat')
-rw-r--r-- | java-compat/test/src/main/java/test/Ice/timeout/AllTests.java | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/java-compat/test/src/main/java/test/Ice/timeout/AllTests.java b/java-compat/test/src/main/java/test/Ice/timeout/AllTests.java index 569281cabf5..ccc71c83aeb 100644 --- a/java-compat/test/src/main/java/test/Ice/timeout/AllTests.java +++ b/java-compat/test/src/main/java/test/Ice/timeout/AllTests.java @@ -577,21 +577,7 @@ public class AllTests batchTimeout.ice_ping(); batchTimeout.ice_ping(); - ((TimeoutPrx)proxy.ice_invocationTimeout(-1)).begin_sleep(300); // Keep the server thread pool busy. - try - { - batchTimeout.ice_flushBatchRequests(); - test(false); - } - catch(Ice.InvocationTimeoutException ex) - { - } - - batchTimeout.ice_ping(); - batchTimeout.ice_ping(); - batchTimeout.ice_ping(); - - ((TimeoutPrx)proxy.ice_invocationTimeout(-1)).begin_sleep(300); // Keep the server thread pool busy. + ((TimeoutPrx)proxy.ice_invocationTimeout(-1)).begin_sleep(500); // Keep the server thread pool busy. try { batchTimeout.end_ice_flushBatchRequests(batchTimeout.begin_ice_flushBatchRequests()); |