summaryrefslogtreecommitdiff
path: root/py/test/Ice/operations/Client.py
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-05-01 06:01:31 +0000
committerMatthew Newhook <matthew@zeroc.com>2007-05-01 06:01:31 +0000
commit2b44f0bd2c0b880dfab4f887214a8247162a77d4 (patch)
treeef44ba34f63ed52932772572521dc7bff73a0e93 /py/test/Ice/operations/Client.py
parentFixe GCC 4.1.1 build failure (diff)
downloadice-2b44f0bd2c0b880dfab4f887214a8247162a77d4.tar.bz2
ice-2b44f0bd2c0b880dfab4f887214a8247162a77d4.tar.xz
ice-2b44f0bd2c0b880dfab4f887214a8247162a77d4.zip
clean up of operations test. added proxy test. added timeout test.
Diffstat (limited to 'py/test/Ice/operations/Client.py')
-rw-r--r--py/test/Ice/operations/Client.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/py/test/Ice/operations/Client.py b/py/test/Ice/operations/Client.py
index aa3c02afc2d..4b267052867 100644
--- a/py/test/Ice/operations/Client.py
+++ b/py/test/Ice/operations/Client.py
@@ -39,7 +39,7 @@ def test(b):
raise RuntimeError('test assertion failed')
def run(args, communicator):
- myClass = AllTests.allTests(communicator)
+ myClass = AllTests.allTests(communicator, False)
print "testing server shutdown...",
myClass.shutdown()
@@ -58,10 +58,16 @@ try:
#
initData = Ice.InitializationData()
initData.properties = Ice.createProperties(sys.argv)
- initData.properties = Ice.createProperties(sys.argv, initData.properties)
initData.properties.setProperty('Ice.ThreadPool.Client.Size', '2')
initData.properties.setProperty('Ice.ThreadPool.Client.SizeWarn', '0')
+ #
+ # We must set MessageSizeMax to an explicit values, because
+ # we run tests to check whether Ice.MemoryLimitException is
+ # raised as expected.
+ #
+ initData.properties.setProperty("Ice.MessageSizeMax", "100");
+
communicator = Ice.initialize(sys.argv, initData)
status = run(sys.argv, communicator)
except: