summaryrefslogtreecommitdiff
path: root/java-compat
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-08-29 17:54:08 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-08-29 17:54:08 +0200
commit1cd5fdc5aac9e6d718ee25177c4524f125736235 (patch)
treed47957f4158fa07b622ec11e93a4fda035daf468 /java-compat
parentFixed whitespace (diff)
downloadice-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.java16
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());