summaryrefslogtreecommitdiff
path: root/jstests/core/profile_findandmodify.js
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@mongodb.com>2020-01-23 14:40:45 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-01-29 14:39:53 +0000
commit7442016d9fd45928370084da1899bc63240a3486 (patch)
tree85b01dcd00e9e0095b9906418753505a0f183049 /jstests/core/profile_findandmodify.js
parenta081c83758521e11a5f285541ea9f13928f3de0f (diff)
downloadmongo-7442016d9fd45928370084da1899bc63240a3486.tar.gz
SERVER-45721 truncation using the oplogTruncateAfterPoint is always non-inclusive of the oplogTruncateAfterPoint
Diffstat (limited to 'jstests/core/profile_findandmodify.js')
-rw-r--r--jstests/core/profile_findandmodify.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/profile_findandmodify.js b/jstests/core/profile_findandmodify.js
index 53ff28e7bad..99ba9b736d2 100644
--- a/jstests/core/profile_findandmodify.js
+++ b/jstests/core/profile_findandmodify.js
@@ -10,7 +10,7 @@ var testDB = db.getSiblingDB("profile_findandmodify");
assert.commandWorked(testDB.dropDatabase());
var coll = testDB.getCollection("test");
-testDB.setProfilingLevel(2);
+assert.commandWorked(testDB.setProfilingLevel(2));
//
// Update as findAndModify.