diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-03-14 15:54:13 -0400 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2018-03-14 17:58:13 -0400 |
commit | 99de297d275339d7ff2f0a38530298cdf8f73fa4 (patch) | |
tree | 3ba1cad1be89e33add6ee03d38433ba69d44515c /src/mongo/dbtests | |
parent | b5ef3780e6956b51659e953080d783f67ca31b64 (diff) | |
download | mongo-99de297d275339d7ff2f0a38530298cdf8f73fa4.tar.gz |
SERVER-33892 Separate test_commands_enabled library
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r-- | src/mongo/dbtests/dbtests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp index c70cd36807f..538ff213702 100644 --- a/src/mongo/dbtests/dbtests.cpp +++ b/src/mongo/dbtests/dbtests.cpp @@ -125,7 +125,7 @@ Status createIndexFromSpec(OperationContext* opCtx, StringData ns, const BSONObj int dbtestsMain(int argc, char** argv, char** envp) { - Command::testCommandsEnabled = true; + ::mongo::setTestCommandsEnabled(true); ::mongo::setupSynchronousSignalHandlers(); mongo::dbtests::initWireSpec(); mongo::runGlobalInitializersOrDie(argc, argv, envp); |