diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-09-23 12:03:01 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-09-23 12:03:01 +0200 |
commit | c178fe3c7ae0453130e91b02ef897bfa5b5a31ad (patch) | |
tree | 0b6e3189d67a36862fe465ca99c8f8f5cf312f20 /java | |
parent | Update Source link settings (diff) | |
download | ice-c178fe3c7ae0453130e91b02ef897bfa5b5a31ad.tar.bz2 ice-c178fe3c7ae0453130e91b02ef897bfa5b5a31ad.tar.xz ice-c178fe3c7ae0453130e91b02ef897bfa5b5a31ad.zip |
Fixed #542, adjusted timeouts to reduce chances of failures
Diffstat (limited to 'java')
-rw-r--r-- | java/test/src/main/java/test/Ice/retry/AllTests.java | 4 |
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 0ec172e9e4a..4ef6cc5e84a 100644 --- a/java/test/src/main/java/test/Ice/retry/AllTests.java +++ b/java/test/src/main/java/test/Ice/retry/AllTests.java @@ -254,10 +254,10 @@ 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(200); + RetryPrx retryWithTimeout = (RetryPrx)retry1.ice_invocationTimeout(-2).ice_timeout(100); try { - retryWithTimeout.sleep(400); + retryWithTimeout.sleep(500); test(false); } catch(com.zeroc.Ice.ConnectionTimeoutException ex) |