summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2019-09-23 16:32:10 +0200
committerBenoit Foucher <benoit@zeroc.com>2019-09-23 16:53:12 +0200
commitb1233a5ec16af0aaf9a5007ad4e90519aea96083 (patch)
treef8f8405b3ac345737b64aea8d2c57f4498dfcd07 /java
parentFix bogus Ice.ProgramName with Swift test driver - Close #548 (diff)
downloadice-b1233a5ec16af0aaf9a5007ad4e90519aea96083.tar.bz2
ice-b1233a5ec16af0aaf9a5007ad4e90519aea96083.tar.xz
ice-b1233a5ec16af0aaf9a5007ad4e90519aea96083.zip
Another fix for the Ice/retry test
Diffstat (limited to 'java')
-rw-r--r--java/test/src/main/java/test/Ice/retry/AllTests.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/src/main/java/test/Ice/retry/AllTests.java b/java/test/src/main/java/test/Ice/retry/AllTests.java
index 4ef6cc5e84a..d69ffd1700e 100644
--- a/java/test/src/main/java/test/Ice/retry/AllTests.java
+++ b/java/test/src/main/java/test/Ice/retry/AllTests.java
@@ -254,13 +254,13 @@ public class AllTests
// The timeout might occur on connection establishment or because of the sleep. What's
// important here is to make sure there are 4 retries and that no calls succeed to
// ensure retries with the old connection timeout semantics work.
- RetryPrx retryWithTimeout = (RetryPrx)retry1.ice_invocationTimeout(-2).ice_timeout(100);
+ RetryPrx retryWithTimeout = (RetryPrx)retry1.ice_invocationTimeout(-2).ice_timeout(200);
try
{
retryWithTimeout.sleep(500);
test(false);
}
- catch(com.zeroc.Ice.ConnectionTimeoutException ex)
+ catch(com.zeroc.Ice.TimeoutException ex)
{
}
instrumentation.testRetryCount(4);