summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/timeout/AllTests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/timeout/AllTests.cpp')
-rw-r--r--cpp/test/Ice/timeout/AllTests.cpp8
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&)