summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/Collocated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/Collocated.cpp')
-rw-r--r--cpp/test/Ice/operations/Collocated.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp
index 3f4d00dd484..974d852ee84 100644
--- a/cpp/test/Ice/operations/Collocated.cpp
+++ b/cpp/test/Ice/operations/Collocated.cpp
@@ -25,6 +25,7 @@ Collocated::run(int argc, char** argv)
communicator->getProperties()->setProperty("TestAdapter.AdapterId", "test");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
Ice::ObjectPrxPtr prx = adapter->add(ICE_MAKE_SHARED(MyDerivedClassI), Ice::stringToIdentity("test"));
+ adapter->add(ICE_MAKE_SHARED(BI), Ice::stringToIdentity("b"));
//adapter->activate(); // Don't activate OA to ensure collocation is used.
test(!prx->ice_getConnection());