diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-09-16 11:22:03 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-09-19 14:50:12 +0200 |
commit | 909675f8719fa76245727f681a8ab80f04041f95 (patch) | |
tree | d3f9a13fa561ee764e559a172f7b40b06836a119 /cpp/test/Ice/timeout/AllTests.cpp | |
parent | Fix typo (diff) | |
download | ice-909675f8719fa76245727f681a8ab80f04041f95.tar.bz2 ice-909675f8719fa76245727f681a8ab80f04041f95.tar.xz ice-909675f8719fa76245727f681a8ab80f04041f95.zip |
Fixed ICE-7317 - timeout test failure
Diffstat (limited to 'cpp/test/Ice/timeout/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/timeout/AllTests.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/timeout/AllTests.cpp b/cpp/test/Ice/timeout/AllTests.cpp index 62d5a8e728e..377cac568ef 100644 --- a/cpp/test/Ice/timeout/AllTests.cpp +++ b/cpp/test/Ice/timeout/AllTests.cpp @@ -385,10 +385,10 @@ allTests(const Ice::CommunicatorPtr& communicator) initData.properties->setProperty("Ice.Override.CloseTimeout", "250"); Ice::CommunicatorPtr comm = Ice::initialize(initData); Ice::ConnectionPtr connection = comm->stringToProxy(sref)->ice_getConnection(); - timeout->holdAdapter(500); + timeout->holdAdapter(800); IceUtil::Time now = IceUtil::Time::now(); comm->destroy(); - test(IceUtil::Time::now() - now < IceUtil::Time::milliSeconds(400)); + test(IceUtil::Time::now() - now < IceUtil::Time::milliSeconds(700)); } cout << "ok" << endl; @@ -403,7 +403,7 @@ allTests(const Ice::CommunicatorPtr& communicator) timeout = timeout->ice_invocationTimeout(100); try { - timeout->sleep(300); + timeout->sleep(500); test(false); } catch(const Ice::InvocationTimeoutException&) @@ -412,7 +412,7 @@ allTests(const Ice::CommunicatorPtr& communicator) try { - timeout->end_sleep(timeout->begin_sleep(300)); + timeout->end_sleep(timeout->begin_sleep(500)); test(false); } catch(const Ice::InvocationTimeoutException&) |