diff options
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); |