summaryrefslogtreecommitdiff
path: root/cpp/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 /cpp/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 'cpp/test')
-rw-r--r--cpp/test/Ice/timeout/Client.cpp6
-rw-r--r--cpp/test/Ice/timeout/Server.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/cpp/test/Ice/timeout/Client.cpp b/cpp/test/Ice/timeout/Client.cpp
index 848f87d1e80..62ddac641b8 100644
--- a/cpp/test/Ice/timeout/Client.cpp
+++ b/cpp/test/Ice/timeout/Client.cpp
@@ -56,12 +56,6 @@ main(int argc, char* argv[])
initData.properties->setProperty("Ice.Warn.Connections", "0");
//
- // We need to send messages large enough to cause the transport
- // buffers to fill up.
- //
- initData.properties->setProperty("Ice.MessageSizeMax", "20000");
-
- //
// Limit the send buffer size, this test relies on the socket
// send() blocking after sending a given amount of data.
//
diff --git a/cpp/test/Ice/timeout/Server.cpp b/cpp/test/Ice/timeout/Server.cpp
index b52247d2463..8922a336669 100644
--- a/cpp/test/Ice/timeout/Server.cpp
+++ b/cpp/test/Ice/timeout/Server.cpp
@@ -55,6 +55,12 @@ main(int argc, char* 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", "20000");
+
+ //
// Limit the recv buffer size, this test relies on the socket
// send() blocking after sending a given amount of data.
//