diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-11-20 15:04:19 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-11-20 15:04:19 +0100 |
commit | 1cdc303164a3b8d0cebb8c0c56a00e6900e8314b (patch) | |
tree | 55d142f9e9cb4ed5c4595d40681881f1056d343c /py/test/Ice/timeout/Client.py | |
parent | ICE-5936 OSX: failure in test/Glacier2/staticFiltering (diff) | |
download | ice-1cdc303164a3b8d0cebb8c0c56a00e6900e8314b.tar.bz2 ice-1cdc303164a3b8d0cebb8c0c56a00e6900e8314b.tar.xz ice-1cdc303164a3b8d0cebb8c0c56a00e6900e8314b.zip |
Fixed ICE-5915: reduced TCP send buffer size to not depend on OS buffer size for tests that require send() to block
Diffstat (limited to 'py/test/Ice/timeout/Client.py')
-rwxr-xr-x | py/test/Ice/timeout/Client.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/test/Ice/timeout/Client.py b/py/test/Ice/timeout/Client.py index 6b6e1b6445e..c38e592a323 100755 --- a/py/test/Ice/timeout/Client.py +++ b/py/test/Ice/timeout/Client.py @@ -52,6 +52,12 @@ try: # initData.properties.setProperty("Ice.Warn.Connections", "0"); + # + # Limit the send buffer size, this test relies on the socket + # send() blocking after sending a given amount of data. + # + initData.properties.setProperty("Ice.TCP.SndSize", "100000"); + communicator = Ice.initialize(sys.argv, initData) status = run(sys.argv, communicator) except: |