0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

SERVER-19909 Fix term of insert op in restore_term.js

This commit is contained in:
Siyuan Zhou 2015-08-14 13:02:40 -04:00
parent e73b7d634c
commit d156ce8f24

View File

@ -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 {