summaryrefslogtreecommitdiff
path: root/src/mongo/transport/SConscript
diff options
context:
space:
mode:
authorJason Carey <jcarey@argv.me>2018-04-30 15:21:45 -0400
committerJason Carey <jcarey@argv.me>2018-05-04 12:18:23 -0400
commit236bf5f077eb16f7bf8f0f7c5f103240bd061f12 (patch)
treebbf85db3916634483f8123fe60c2ccc1ab3eed63 /src/mongo/transport/SConscript
parent3539922e751fc79f536a43aae6da422e5a4a03d0 (diff)
downloadmongo-236bf5f077eb16f7bf8f0f7c5f103240bd061f12.tar.gz
SERVER-34506 TLASIO test for isJustForContinuation
Adding an integration test for transport layer asio which uses a fail point to induce single byte at a time reads and writes. We use this, along with a debug block in the future header, to ensure that the continuation folding in futures is working properly with opportunisticRead/Write chaining. To test the other side of this, adding a new test command called "echo" which returns the command object passed to it (to allow for a large message body on the read and write path more easily).
Diffstat (limited to 'src/mongo/transport/SConscript')
-rw-r--r--src/mongo/transport/SConscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/transport/SConscript b/src/mongo/transport/SConscript
index c56be5c9845..4c56abf9262 100644
--- a/src/mongo/transport/SConscript
+++ b/src/mongo/transport/SConscript
@@ -100,8 +100,12 @@ tlEnv.CppIntegrationTest(
'transport_layer_asio_integration_test.cpp',
],
LIBDEPS=[
+ 'transport_layer_egress_init',
'$BUILD_DIR/mongo/base',
+ '$BUILD_DIR/mongo/client/async_client',
+ '$BUILD_DIR/mongo/executor/task_executor_interface',
'$BUILD_DIR/mongo/util/net/network',
+ '$BUILD_DIR/mongo/util/version_impl',
'$BUILD_DIR/third_party/shim_asio',
],
)