summaryrefslogtreecommitdiff
path: root/python/test
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2017-07-15 17:00:19 -0400
committerBernard Normier <bernard@zeroc.com>2017-07-15 17:00:19 -0400
commitab85ad5e4a4a3809d11f076df76ed4d37ca598a4 (patch)
tree3d3d9517e978e1896765231c57125a9cdc8b927a /python/test
parentReplaced tab by spaces (diff)
downloadice-ab85ad5e4a4a3809d11f076df76ed4d37ca598a4.tar.bz2
ice-ab85ad5e4a4a3809d11f076df76ed4d37ca598a4.tar.xz
ice-ab85ad5e4a4a3809d11f076df76ed4d37ca598a4.zip
Fixed Ice.MessageSizeMax value in Ice/timeout tests
Diffstat (limited to 'python/test')
-rwxr-xr-xpython/test/Ice/timeout/Client.py6
-rwxr-xr-xpython/test/Ice/timeout/Server.py7
2 files changed, 7 insertions, 6 deletions
diff --git a/python/test/Ice/timeout/Client.py b/python/test/Ice/timeout/Client.py
index 2e1a5dbf3bd..9d6bd83e625 100755
--- a/python/test/Ice/timeout/Client.py
+++ b/python/test/Ice/timeout/Client.py
@@ -37,12 +37,6 @@ try:
initData.properties = Ice.createProperties(sys.argv)
#
- # We need to send messages large enough to cause the transport
- # buffers to fill up.
- #
- initData.properties.setProperty("Ice.MessageSizeMax", "10000");
-
- #
# For this test, we want to disable retries.
#
initData.properties.setProperty("Ice.RetryIntervals", "-1");
diff --git a/python/test/Ice/timeout/Server.py b/python/test/Ice/timeout/Server.py
index cde7d51ee98..917f8e90017 100755
--- a/python/test/Ice/timeout/Server.py
+++ b/python/test/Ice/timeout/Server.py
@@ -60,6 +60,13 @@ try:
initData = Ice.InitializationData()
initData.properties = Ice.createProperties(sys.argv)
initData.properties.setProperty("Ice.Warn.Connections", "0");
+
+ #
+ # The client sends large messages to cause the transport
+ # buffers to fill up.
+ #
+ initData.properties.setProperty("Ice.MessageSizeMax", "10000");
+
#
# Limit the recv buffer size, this test relies on the socket
# send() blocking after sending a given amount of data.