diff options
author | Benoit Foucher <benoit@zeroc.com> | 2020-05-15 14:30:57 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2020-05-15 14:30:57 +0200 |
commit | 827fb617431b61f1fe811139f7b7f33beb45dbf0 (patch) | |
tree | 5654bd897a56c3487d0bb4cea7ae7bd5c0b4c7d7 /cpp/test | |
parent | Added synchronization for _sessions data member, fixes #843 (diff) | |
download | ice-827fb617431b61f1fe811139f7b7f33beb45dbf0.tar.bz2 ice-827fb617431b61f1fe811139f7b7f33beb45dbf0.tar.xz ice-827fb617431b61f1fe811139f7b7f33beb45dbf0.zip |
Bumped sleep time and decreased timeout, fixes #850v3.7.4
Diffstat (limited to 'cpp/test')
-rw-r--r-- | cpp/test/Ice/retry/AllTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/retry/AllTests.cpp b/cpp/test/Ice/retry/AllTests.cpp index 4aeef33bf9c..acd15767691 100644 --- a/cpp/test/Ice/retry/AllTests.cpp +++ b/cpp/test/Ice/retry/AllTests.cpp @@ -360,10 +360,10 @@ allTests(const Ice::CommunicatorPtr& communicator, const Ice::CommunicatorPtr& c // 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. - RetryPrxPtr retryWithTimeout = retry1->ice_invocationTimeout(-2)->ice_timeout(200); + RetryPrxPtr retryWithTimeout = retry1->ice_invocationTimeout(-2)->ice_timeout(100); try { - retryWithTimeout->sleep(500); + retryWithTimeout->sleep(1000); test(false); } catch(const Ice::TimeoutException&) |