summaryrefslogtreecommitdiff
path: root/python/test/Ice/proxy
diff options
context:
space:
mode:
Diffstat (limited to 'python/test/Ice/proxy')
-rwxr-xr-xpython/test/Ice/proxy/Server.py2
-rwxr-xr-xpython/test/Ice/proxy/ServerAMD.py3
2 files changed, 4 insertions, 1 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:
diff --git a/python/test/Ice/proxy/ServerAMD.py b/python/test/Ice/proxy/ServerAMD.py
index 787ace9b443..028dfb55af7 100755
--- a/python/test/Ice/proxy/ServerAMD.py
+++ b/python/test/Ice/proxy/ServerAMD.py
@@ -48,7 +48,8 @@ def run(args, communicator):
try:
initData = Ice.InitializationData()
initData.properties = Ice.createProperties(sys.argv)
- initData.properties.setProperty("Ice.Warn.Connections", "0");
+ initData.properties.setProperty("Ice.Warn.Connections", "0")
+ initData.properties.setProperty("Ice.Warn.Dispatch", "0")
communicator = Ice.initialize(sys.argv, initData)
status = run(sys.argv, communicator)
except: