diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:01:31 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:01:31 +0000 |
commit | 2b44f0bd2c0b880dfab4f887214a8247162a77d4 (patch) | |
tree | ef44ba34f63ed52932772572521dc7bff73a0e93 /py/test/Ice/operations/Client.py | |
parent | Fixe GCC 4.1.1 build failure (diff) | |
download | ice-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.py | 10 |
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: |