diff options
author | Andrew Morrow <acm@mongodb.com> | 2019-06-19 11:36:50 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2019-06-20 14:31:23 -0400 |
commit | e3f4aa4cf938be00e33874408185767ad256a769 (patch) | |
tree | a6490e5fcd6912d46514b2657a1dc46a352fd943 /src/mongo/s/catalog | |
parent | 065a8926202af35bd19a9e2974aaa18f341604fa (diff) | |
download | mongo-e3f4aa4cf938be00e33874408185767ad256a769.tar.gz |
SERVER-41809 Collapse unit tests on a per-directory basis
Diffstat (limited to 'src/mongo/s/catalog')
-rw-r--r-- | src/mongo/s/catalog/SConscript | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/src/mongo/s/catalog/SConscript b/src/mongo/s/catalog/SConscript index f4618bcd300..9c0cbcf2efa 100644 --- a/src/mongo/s/catalog/SConscript +++ b/src/mongo/s/catalog/SConscript @@ -124,10 +124,12 @@ env.Library( ) env.CppUnitTest( - target='replset_dist_lock_manager_test', + target='s_catalog_test', source=[ 'dist_lock_catalog_impl_test.cpp', 'replset_dist_lock_manager_test.cpp', + 'sharding_catalog_test.cpp', + 'sharding_catalog_write_retry_test.cpp', ], LIBDEPS=[ '$BUILD_DIR/mongo/db/auth/authmocks', @@ -135,19 +137,8 @@ env.CppUnitTest( '$BUILD_DIR/mongo/s/catalog/dist_lock_catalog_mock', '$BUILD_DIR/mongo/s/catalog/sharding_catalog_client_mock', '$BUILD_DIR/mongo/s/shard_server_test_fixture', + '$BUILD_DIR/mongo/s/sharding_router_test_fixture', 'dist_lock_catalog_impl', 'replset_dist_lock_manager', ] ) - -env.CppUnitTest( - target='sharding_catalog_client_test', - source=[ - 'sharding_catalog_test.cpp', - 'sharding_catalog_write_retry_test.cpp', - ], - LIBDEPS=[ - '$BUILD_DIR/mongo/db/storage/duplicate_key_error_info', - '$BUILD_DIR/mongo/s/sharding_router_test_fixture', - ] -) |