mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 09:06:21 +01:00
SERVER-19909 Fix term of insert op in restore_term.js
This commit is contained in:
parent
e73b7d634c
commit
d156ce8f24
@ -32,7 +32,7 @@ assert.eq(getCurrentTerm(primary), firstSuccessfulTerm);
|
||||
// Check that the insert op has the initial term.
|
||||
var latestOp = getLatestOp(primary);
|
||||
assert.eq(latestOp.op, "i");
|
||||
assert.eq(latestOp.t, NumberLong(1));
|
||||
assert.eq(latestOp.t, firstSuccessfulTerm);
|
||||
|
||||
// Step down to increase the term.
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user