diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-02-15 19:45:32 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-02-15 19:45:32 +0000 |
commit | d5fd7ca65a657e64ceb1dc9fb2b2929acbf200fe (patch) | |
tree | 1b4b73f65fa51e6f3271f89e9b7645a8dc9b953c /cpp | |
parent | changing timeout for cache test (diff) | |
download | ice-d5fd7ca65a657e64ceb1dc9fb2b2929acbf200fe.tar.bz2 ice-d5fd7ca65a657e64ceb1dc9fb2b2929acbf200fe.tar.xz ice-d5fd7ca65a657e64ceb1dc9fb2b2929acbf200fe.zip |
Fixed bug 864
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/Ice/location/AllTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/location/AllTests.cpp b/cpp/test/Ice/location/AllTests.cpp index 79940109930..65f294f5f44 100644 --- a/cpp/test/Ice/location/AllTests.cpp +++ b/cpp/test/Ice/location/AllTests.cpp @@ -228,7 +228,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const string& ref) test(++count == locator->getRequestCount()); communicator->stringToProxy("test@TestAdapter")->ice_locatorCacheTimeout(1)->ice_ping(); // 1s timeout. test(count == locator->getRequestCount()); - IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(1)); + IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(1200)); communicator->stringToProxy("test@TestAdapter")->ice_locatorCacheTimeout(1)->ice_ping(); // 1s timeout. test(++count == locator->getRequestCount()); @@ -237,7 +237,7 @@ allTests(const Ice::CommunicatorPtr& communicator, const string& ref) test(count == locator->getRequestCount()); communicator->stringToProxy("test")->ice_locatorCacheTimeout(1)->ice_ping(); // 1s timeout test(count == locator->getRequestCount()); - IceUtil::ThreadControl::sleep(IceUtil::Time::seconds(1)); + IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(1200)); communicator->stringToProxy("test")->ice_locatorCacheTimeout(1)->ice_ping(); // 1s timeout count += 2; test(count == locator->getRequestCount()); |