summaryrefslogtreecommitdiff
path: root/python/test/Ice/proxy/Server.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/proxy/Server.py')
-rwxr-xr-xpython/test/Ice/proxy/Server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/test/Ice/proxy/Server.py b/python/test/Ice/proxy/Server.py
index 9c3f7bb18d9..9c91f317da3 100755
--- a/python/test/Ice/proxy/Server.py
+++ b/python/test/Ice/proxy/Server.py
@@ -22,6 +22,7 @@ import Test, TestI
def run(args, communicator):
communicator.getProperties().setProperty("TestAdapter.Endpoints", "default -p 12010:udp")
adapter = communicator.createObjectAdapter("TestAdapter")
+
adapter.add(TestI.MyDerivedClassI(), communicator.stringToIdentity("test"))
adapter.activate()
communicator.waitForShutdown()
@@ -30,6 +31,7 @@ def run(args, communicator):
try:
initData = Ice.InitializationData()
initData.properties = Ice.createProperties(sys.argv)
+ initData.properties.setProperty("Ice.Warn.Dispatch", "0")
communicator = Ice.initialize(sys.argv, initData)
status = run(sys.argv, communicator)
except: