summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/timeout/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/timeout/Client.cpp')
-rw-r--r--cpp/test/Ice/timeout/Client.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/test/Ice/timeout/Client.cpp b/cpp/test/Ice/timeout/Client.cpp
index 203ac9ce2cf..8f721ced652 100644
--- a/cpp/test/Ice/timeout/Client.cpp
+++ b/cpp/test/Ice/timeout/Client.cpp
@@ -52,6 +52,12 @@ main(int argc, char* argv[])
//
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.
+ //
+ initData.properties->setProperty("Ice.TCP.SndSize", "100000");
+
communicator = Ice::initialize(argc, argv, initData);
status = run(argc, argv, communicator);
}