diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-03-03 17:26:06 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-03-03 17:26:06 +0100 |
commit | 1ce580e686a4f93a0b7e24465761330aa4022d43 (patch) | |
tree | b10128a0b98145de6018f75d02d65e61b609833f /cpp | |
parent | Fixed ICE-7478 - Glacier2 tests issues with passwords file removed conccurrently (diff) | |
download | ice-1ce580e686a4f93a0b7e24465761330aa4022d43.tar.bz2 ice-1ce580e686a4f93a0b7e24465761330aa4022d43.tar.xz ice-1ce580e686a4f93a0b7e24465761330aa4022d43.zip |
Fixed ICE-7624 - IceGrid/allocation timeout test failures
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/test/IceGrid/allocation/AllTests.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/test/IceGrid/allocation/AllTests.cpp b/cpp/test/IceGrid/allocation/AllTests.cpp index 7cfa1916595..5d0011a338d 100644 --- a/cpp/test/IceGrid/allocation/AllTests.cpp +++ b/cpp/test/IceGrid/allocation/AllTests.cpp @@ -602,6 +602,7 @@ allTests(const Ice::CommunicatorPtr& communicator) // The notification of the server being disabled is asynchronous and might // not be visible to the allocation system immediately. session1->allocateObjectByType("::Test"); + session1->releaseObject(obj->ice_getIdentity()); IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(100)); } test(false); @@ -841,6 +842,7 @@ allTests(const Ice::CommunicatorPtr& communicator) // The notification of the server being disabled is asynchronous and might // not be visible to the allocation system immediately. session1->allocateObjectByType("::TestServer1"); + session1->releaseObject(allocatable3); IceUtil::ThreadControl::sleep(IceUtil::Time::milliSeconds(100)); } test(false); |