summaryrefslogtreecommitdiff
path: root/src/mongo/s/SConscript
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2019-05-06 13:08:55 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2019-05-10 14:09:08 -0400
commit87c32b0ee8f862b330908fb1653f851aee2a6fa4 (patch)
treed69b3a78f74e4bcb93e413adf1e5d2ece2629e32 /src/mongo/s/SConscript
parentc34bc93a15cbb6fe8b222f12afac5adbab6f0737 (diff)
downloadmongo-87c32b0ee8f862b330908fb1653f851aee2a6fa4.tar.gz
SERVER-38369 Only surface a 'request doesn't allow collection to be created implicitly' error if no shard has the collection
Diffstat (limited to 'src/mongo/s/SConscript')
-rw-r--r--src/mongo/s/SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mongo/s/SConscript b/src/mongo/s/SConscript
index 88db8654426..3566cbbf4b3 100644
--- a/src/mongo/s/SConscript
+++ b/src/mongo/s/SConscript
@@ -484,6 +484,19 @@ env.Library(
)
env.CppUnitTest(
+ target='cluster_commands_helpers_test',
+ source=[
+ 'append_raw_responses_test.cpp',
+ ],
+ LIBDEPS=[
+ '$BUILD_DIR/mongo/db/auth/authmocks',
+ '$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_mock',
+ 'shard_server_test_fixture',
+ 'sharding_router_api',
+ ]
+)
+
+env.CppUnitTest(
target='balancer_configuration_test',
source=[
'balancer_configuration_test.cpp',