summaryrefslogtreecommitdiff
path: root/python/test/Ice/objects/Server.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-03-23 15:29:25 +0100
committerBenoit Foucher <benoit@zeroc.com>2017-03-23 15:29:25 +0100
commit1597a75419cd8049252cfbca6fce6ae95ef8b2c7 (patch)
tree2b2c858df1dbe68c1d576cae06c4713fd2ad5c40 /python/test/Ice/objects/Server.py
parentUse Ice\None with PHP namespace mapping (diff)
downloadice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.tar.bz2
ice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.tar.xz
ice-1597a75419cd8049252cfbca6fce6ae95ef8b2c7.zip
Fix for ICE-7125 - Added support for Ice.ClassGraphDepthMax
Diffstat (limited to 'python/test/Ice/objects/Server.py')
-rwxr-xr-xpython/test/Ice/objects/Server.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/python/test/Ice/objects/Server.py b/python/test/Ice/objects/Server.py
index b4352d82b5d..40b9f273c1b 100755
--- a/python/test/Ice/objects/Server.py
+++ b/python/test/Ice/objects/Server.py
@@ -40,8 +40,11 @@ def run(args, communicator):
return True
try:
- with Ice.initialize(sys.argv) as communicator:
- status = run(sys.argv, communicator)
+ initData = Ice.InitializationData()
+ initData.properties = Ice.createProperties(sys.argv)
+ initData.properties.setProperty("Ice.Warn.Dispatch", "0");
+ with Ice.initialize(sys.argv, initData) as communicator:
+ status = run(sys.argv, communicator)
except:
traceback.print_exc()
status = False