diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2018-07-18 13:46:53 -0400 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2018-07-27 16:20:53 -0400 |
commit | bfe170e49b1dc10b2badde45bc13c057a2f8ab61 (patch) | |
tree | f71d35e019c3194d033545c73296d415e18eb496 /src/mongo/db/update | |
parent | 018905518ca552775255f36a52e9fd187f9d61f8 (diff) | |
download | mongo-bfe170e49b1dc10b2badde45bc13c057a2f8ab61.tar.gz |
SERVER-36258 Construct ServiceContext after mongo initializers complete.
Diffstat (limited to 'src/mongo/db/update')
-rw-r--r-- | src/mongo/db/update/SConscript | 1 | ||||
-rw-r--r-- | src/mongo/db/update/update_node_test_fixture.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/update/SConscript b/src/mongo/db/update/SConscript index 405f3a5bb9c..ad97577a94a 100644 --- a/src/mongo/db/update/SConscript +++ b/src/mongo/db/update/SConscript @@ -117,6 +117,7 @@ env.CppUnitTest( ], LIBDEPS=[ '$BUILD_DIR/mongo/bson/mutable/mutable_bson_test_utils', + '$BUILD_DIR/mongo/db/service_context_test_fixture', '$BUILD_DIR/mongo/db/logical_clock', '$BUILD_DIR/mongo/db/query/collation/collator_interface_mock', '$BUILD_DIR/mongo/db/query/query_test_service_context', diff --git a/src/mongo/db/update/update_node_test_fixture.h b/src/mongo/db/update/update_node_test_fixture.h index 050c9444e75..6da205a2cb8 100644 --- a/src/mongo/db/update/update_node_test_fixture.h +++ b/src/mongo/db/update/update_node_test_fixture.h @@ -30,12 +30,13 @@ #include "mongo/db/logical_clock.h" #include "mongo/db/service_context.h" +#include "mongo/db/service_context_test_fixture.h" #include "mongo/db/update/update_node.h" #include "mongo/unittest/unittest.h" namespace mongo { -class UpdateNodeTest : public mongo::unittest::Test { +class UpdateNodeTest : public ServiceContextTest { public: ~UpdateNodeTest() override = default; |