summaryrefslogtreecommitdiff
path: root/tests/MEM_Stream_Test.cpp
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-22 01:28:32 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-22 01:28:32 +0000
commit409a7c3a929ceabb6ed140ec4e6517e750366adf (patch)
tree3f6e4274eb534440f99c9832521192b4df84c0aa /tests/MEM_Stream_Test.cpp
parentafbf63e9d5ad7ca513efa827a46cd50e13e46f92 (diff)
downloadATCD-409a7c3a929ceabb6ed140ec4e6517e750366adf.tar.gz
ChangeLogTag:Wed May 21 19:55:54 2003 Nanbor Wang <nanbor@cs.wustl.edu>
Diffstat (limited to 'tests/MEM_Stream_Test.cpp')
-rw-r--r--tests/MEM_Stream_Test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/MEM_Stream_Test.cpp b/tests/MEM_Stream_Test.cpp
index dd2c725e593..b4bcee319be 100644
--- a/tests/MEM_Stream_Test.cpp
+++ b/tests/MEM_Stream_Test.cpp
@@ -348,7 +348,9 @@ test_concurrent (const ACE_TCHAR *prog,
ACE_ERROR_RETURN ((LM_ERROR,
ACE_TEXT ("MEM_Acceptor::accept\n")), 1);
- acceptor.acceptor ().malloc_options ().minimum_bytes_ = 1024 * 1024;
+ // Make sure the MEM_Stream created by the underlying MEM_Acceptor
+ // is capable of passing messages of 1MB.
+ acceptor.acceptor ().init_buffer_size (1024 * 1024);
acceptor.acceptor ().mmap_prefix (ACE_TEXT ("MEM_Acceptor_"));
acceptor.acceptor ().preferred_strategy (ACE_MEM_IO::MT);