summaryrefslogtreecommitdiff
path: root/cpp/test/IceBox/admin/TestI.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-08-16 16:37:18 +0200
committerBenoit Foucher <benoit@zeroc.com>2016-08-16 16:37:18 +0200
commit88293201e566c982830482601e878ff4bc643782 (patch)
treeb0ffc2633b8404cde06d4786927b1f6b63024849 /cpp/test/IceBox/admin/TestI.cpp
parentFixed ICE-7273 - C# AMI test failure (diff)
downloadice-88293201e566c982830482601e878ff4bc643782.tar.bz2
ice-88293201e566c982830482601e878ff4bc643782.tar.xz
ice-88293201e566c982830482601e878ff4bc643782.zip
C# mapping changes
- user exceptions are no longer checked on the server side (ICE-6980) - support for ["marshaled-result"] metadata - AMD operations now return a Task - improved dispatch interceptors - PropertiesAdminI::setProperties impl. now invokes callbacks synchronously
Diffstat (limited to 'cpp/test/IceBox/admin/TestI.cpp')
-rw-r--r--cpp/test/IceBox/admin/TestI.cpp21
1 files changed, 1 insertions, 20 deletions
diff --git a/cpp/test/IceBox/admin/TestI.cpp b/cpp/test/IceBox/admin/TestI.cpp
index 61a62495943..fce80576ba3 100644
--- a/cpp/test/IceBox/admin/TestI.cpp
+++ b/cpp/test/IceBox/admin/TestI.cpp
@@ -12,8 +12,7 @@
using namespace Test;
-TestFacetI::TestFacetI() :
- _called(false)
+TestFacetI::TestFacetI()
{
}
@@ -21,21 +20,6 @@ Ice::PropertyDict
TestFacetI::getChanges(const Ice::Current&)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
-
- //
- // The client calls PropertiesAdmin::setProperties() and then invokes
- // this operation. Since setProperties() is implemented using AMD, the
- // client might receive its reply and then call getChanges() before our
- // updated() method is called. We block here to ensure that updated()
- // gets called before we return the most recent set of changes.
- //
- while(!_called)
- {
- wait();
- }
-
- _called = false;
-
return _changes;
}
@@ -43,8 +27,5 @@ void
TestFacetI::updated(const Ice::PropertyDict& changes)
{
IceUtil::Monitor<IceUtil::Mutex>::Lock sync(*this);
-
_changes = changes;
- _called = true;
- notify();
}