summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorAmirsaman Memaripour <amirsaman.memaripour@mongodb.com>2020-06-05 17:45:38 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-06-05 19:19:41 +0000
commit1ba3f68f27682084fde335a1cd7f929f1f572a10 (patch)
tree58674fba24cbf93b8fd908a0a3312ada43d8cae6 /src/mongo/dbtests
parent2e89964a6f4fa7a978290fd3babbec572b59fe65 (diff)
downloadmongo-1ba3f68f27682084fde335a1cd7f929f1f572a10.tar.gz
SERVER-46726 Provide separate setParameter to disable diagnostic work
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/dbtests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/dbtests/dbtests.cpp b/src/mongo/dbtests/dbtests.cpp
index 9f4d4b63984..03a3eb6fd01 100644
--- a/src/mongo/dbtests/dbtests.cpp
+++ b/src/mongo/dbtests/dbtests.cpp
@@ -59,6 +59,7 @@
#include "mongo/util/clock_source_mock.h"
#include "mongo/util/quick_exit.h"
#include "mongo/util/signal_handlers_synchronous.h"
+#include "mongo/util/testing_proctor.h"
#include "mongo/util/text.h"
namespace mongo {
@@ -173,6 +174,7 @@ WriteContextForTests::WriteContextForTests(OperationContext* opCtx, StringData n
int dbtestsMain(int argc, char** argv, char** envp) {
::mongo::setTestCommandsEnabled(true);
+ ::mongo::TestingProctor::instance().setEnabled(true);
::mongo::setupSynchronousSignalHandlers();
mongo::dbtests::initWireSpec();