summaryrefslogtreecommitdiff
path: root/jstests/sharding/resharding_generate_oplog_entries.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/resharding_generate_oplog_entries.js')
-rw-r--r--jstests/sharding/resharding_generate_oplog_entries.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/sharding/resharding_generate_oplog_entries.js b/jstests/sharding/resharding_generate_oplog_entries.js
index 026decca0e5..2e1815c81ca 100644
--- a/jstests/sharding/resharding_generate_oplog_entries.js
+++ b/jstests/sharding/resharding_generate_oplog_entries.js
@@ -44,6 +44,7 @@ function simulateResharding() {
let donorReshardingFields = {
"uuid": uuid,
"state": "preparing-to-donate",
+ "startTime": new Date(),
"donorFields": {
"tempNs": tempReshardingNss,
"reshardingKey": {y: 1},
@@ -249,4 +250,4 @@ jsTestLog("oplog: " + tojson(oplogEntries));
jsTestLog("oplog strict: " + tostrictjson(oplogEntries));
st.stop();
-})(); \ No newline at end of file
+})();