summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests/validate_tests.cpp
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2019-05-30 11:51:24 -0400
committerGregory Noma <gregory.noma@gmail.com>2019-05-30 11:51:24 -0400
commit119101f32b246b883ea255ab6b7bd2cae50599de (patch)
treef7be950d55a056a69e1a8f3804c268f23637b0ab /src/mongo/dbtests/validate_tests.cpp
parentbf6275237ba6696954e6593dec9ce134aba97e6d (diff)
downloadmongo-119101f32b246b883ea255ab6b7bd2cae50599de.tar.gz
SERVER-40958 Deprecate the 'scandata' argument in 'validate', update corresponding ValidateCmdLevel enum
Diffstat (limited to 'src/mongo/dbtests/validate_tests.cpp')
-rw-r--r--src/mongo/dbtests/validate_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/validate_tests.cpp b/src/mongo/dbtests/validate_tests.cpp
index 1a384682b4c..7737168b2bd 100644
--- a/src/mongo/dbtests/validate_tests.cpp
+++ b/src/mongo/dbtests/validate_tests.cpp
@@ -92,7 +92,7 @@ protected:
Database* db = _autoDb.get()->getDb();
ASSERT_OK(db->getCollection(&_opCtx, _nss)
->validate(&_opCtx,
- _full ? kValidateFull : kValidateIndex,
+ _full ? kValidateFull : kValidateNormal,
_background,
&results,
&output));