summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/operations/Server.cpp')
-rw-r--r--cpp/test/Ice/operations/Server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/test/Ice/operations/Server.cpp b/cpp/test/Ice/operations/Server.cpp
index d99c8aafb5b..ce379ea3e7a 100644
--- a/cpp/test/Ice/operations/Server.cpp
+++ b/cpp/test/Ice/operations/Server.cpp
@@ -34,6 +34,11 @@ main(int argc, char* argv[])
{
Ice::InitializationData initData;
initData.properties = Ice::createProperties(argc, argv);
+ //
+ // Its possible to have batch oneway requests dispatched after
+ // the adapter is deactivated due to thread scheduling so we
+ // supress this warning.
+ //
initData.properties->setProperty("Ice.Warn.Dispatch", "0");
communicator = Ice::initialize(argc, argv, initData);