summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/SConscript')
-rw-r--r--src/mongo/db/s/SConscript22
1 files changed, 6 insertions, 16 deletions
diff --git a/src/mongo/db/s/SConscript b/src/mongo/db/s/SConscript
index 4dd1a7e33f4..400eec3def4 100644
--- a/src/mongo/db/s/SConscript
+++ b/src/mongo/db/s/SConscript
@@ -97,7 +97,6 @@ env.Library(
'$BUILD_DIR/mongo/db/catalog/collection',
'$BUILD_DIR/mongo/db/catalog/database',
'$BUILD_DIR/mongo/db/common',
- '$BUILD_DIR/mongo/db/range_deleter',
'$BUILD_DIR/mongo/db/concurrency/lock_manager',
'$BUILD_DIR/mongo/db/query/internal_plans',
'$BUILD_DIR/mongo/s/client/shard_local',
@@ -195,7 +194,6 @@ env.Library(
'$BUILD_DIR/mongo/db/db_raii',
'$BUILD_DIR/mongo/db/dbhelpers',
'$BUILD_DIR/mongo/db/index_d',
- '$BUILD_DIR/mongo/db/range_deleter_d',
'$BUILD_DIR/mongo/db/repl/repl_coordinator_global',
'balancer',
'metadata',
@@ -230,22 +228,10 @@ env.CppUnitTest(
)
env.CppUnitTest(
- target='sharding_metadata_test',
- source=[
- 'collection_metadata_test.cpp',
- 'shard_metadata_util_test.cpp',
- ],
- LIBDEPS=[
- 'metadata',
- '$BUILD_DIR/mongo/s/shard_server_test_fixture',
- ],
-)
-
-env.CppUnitTest(
target='shard_test',
source=[
+ 'shard_metadata_util_test.cpp',
'active_migrations_registry_test.cpp',
- 'metadata_manager_test.cpp',
'migration_chunk_cloner_source_legacy_test.cpp',
'sharding_state_test.cpp',
],
@@ -255,14 +241,17 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_impl',
'$BUILD_DIR/mongo/s/catalog/sharding_catalog_mock',
'$BUILD_DIR/mongo/s/sharding_mongod_test_fixture',
+ '$BUILD_DIR/mongo/s/shard_server_test_fixture',
],
)
env.CppUnitTest(
target='collection_sharding_state_test',
source=[
- 'collection_sharding_state_test.cpp',
+ 'collection_metadata_test.cpp',
'collection_range_deleter_test.cpp',
+ 'metadata_manager_test.cpp',
+ 'collection_sharding_state_test.cpp',
],
LIBDEPS=[
'$BUILD_DIR/mongo/client/remote_command_targeter_mock',
@@ -275,6 +264,7 @@ env.CppUnitTest(
'$BUILD_DIR/mongo/util/clock_source_mock',
'$BUILD_DIR/mongo/util/net/message_port_mock',
'$BUILD_DIR/mongo/db/service_context_d_test_fixture',
+ '$BUILD_DIR/mongo/s/sharding_mongod_test_fixture',
],
)