diff options
author | Benoit Foucher <benoit@zeroc.com> | 2019-09-24 13:37:44 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2019-09-24 15:33:14 +0200 |
commit | f36869725c29a23a903a5533ff18c86c55092355 (patch) | |
tree | b1630868a1932d3378dea4746eb135350134d1a8 /cpp | |
parent | Fix DK 13 build failures (diff) | |
download | ice-f36869725c29a23a903a5533ff18c86c55092355.tar.bz2 ice-f36869725c29a23a903a5533ff18c86c55092355.tar.xz ice-f36869725c29a23a903a5533ff18c86c55092355.zip |
Fix for invocation timeout sporadic test failure, fixes #547
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/timeout/AllTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/timeout/AllTests.cpp b/cpp/test/Ice/timeout/AllTests.cpp index b6bde584ec2..42fb207a96a 100644 --- a/cpp/test/Ice/timeout/AllTests.cpp +++ b/cpp/test/Ice/timeout/AllTests.cpp @@ -201,7 +201,7 @@ allTestsWithController(Test::TestHelper* helper, const ControllerPrxPtr& control test(connection == to->ice_getConnection()); try { - to->sleep(500); + to->sleep(1000); test(false); } catch(const Ice::InvocationTimeoutException&) @@ -227,7 +227,7 @@ allTestsWithController(Test::TestHelper* helper, const ControllerPrxPtr& control TimeoutPrxPtr to = ICE_UNCHECKED_CAST(TimeoutPrx, obj->ice_invocationTimeout(100)); #ifdef ICE_CPP11_MAPPING - auto f = to->sleepAsync(500); + auto f = to->sleepAsync(1000); try { f.get(); @@ -242,7 +242,7 @@ allTestsWithController(Test::TestHelper* helper, const ControllerPrxPtr& control } #else CallbackPtr cb = new Callback(); - to->begin_sleep(500, newCallback_Timeout_sleep(cb, &Callback::responseEx, &Callback::exceptionEx)); + to->begin_sleep(1000, newCallback_Timeout_sleep(cb, &Callback::responseEx, &Callback::exceptionEx)); cb->check(); #endif obj->ice_ping(); |