diff options
Diffstat (limited to 'jstests/noPassthrough/minvalid2.js')
-rw-r--r-- | jstests/noPassthrough/minvalid2.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/jstests/noPassthrough/minvalid2.js b/jstests/noPassthrough/minvalid2.js index f51a1430490..12f5f9f4046 100644 --- a/jstests/noPassthrough/minvalid2.js +++ b/jstests/noPassthrough/minvalid2.js @@ -60,8 +60,12 @@ printjson(lastOp); // Overwrite minvalid document to simulate an inconsistent state (as might result from a server // crash. -local.replset.minvalid.update( - {}, {ts: new Timestamp(lastOp.ts.t, lastOp.ts.i + 1)}, {upsert: true}); +local.replset.minvalid.update({}, + { + ts: new Timestamp(lastOp.ts.t, lastOp.ts.i + 1), + t: NumberLong(-1), + }, + {upsert: true}); printjson(local.replset.minvalid.findOne()); print("5: shut down master"); |