THRIFT-929. cpp: Reduce default buffer sizes for TransportTest
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:35 +0000 (17:10 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:35 +0000 (17:10 +0000)
commit65e62d3741e226abf0caf7b7393845ad41779a61
treee4fb8b2f4a8811618b2531c5ef616953e1ece72a
parent4f9efdb460a7c54cc55b25f2c6b8955a5fcff229
THRIFT-929. cpp: Reduce default buffer sizes for TransportTest

Reduce the default test buffer sizes by about 30x, reducing the time it
takes to run TransportTest from about 1 minute to about 2 seconds.  I
added a --size-multiplier argument that can be used to adjust the sizes
of all test buffers, so developers can still run with large buffer sizes
when desired.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005157 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/test/TransportTest.cpp