summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugh Tong <hugh.tong@mongodb.com>2022-07-18 19:06:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-18 19:36:57 +0000
commit9b1eb092c79d03cc49d4e5faf1f0d9641612601b (patch)
tree7b0bde5cfc6037c76f397bd09f5cde424896a64e
parent7dcc3e4424bba6dec70786ad08e61c9e6dc8dc53 (diff)
downloadmongo-9b1eb092c79d03cc49d4e5faf1f0d9641612601b.tar.gz
SERVER-67761 Add lastCommittedOpTime field to scrub() function
-rw-r--r--jstests/core/set_param1.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/core/set_param1.js b/jstests/core/set_param1.js
index feb43637e60..c1ef5995578 100644
--- a/jstests/core/set_param1.js
+++ b/jstests/core/set_param1.js
@@ -17,6 +17,7 @@
function scrub(obj) {
delete obj["operationTime"];
delete obj["$clusterTime"];
+ delete obj["lastCommittedOpTime"];
// There are Failpoint manipulations in concurrent tasks in the jstest
// environment. So scrub the volatile "failpoint." parameters.
for (let key in obj)