mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
SERVER-45350: Use awaitMajorityCommitted in standalone_replication_recovery_idempotent.js
This commit is contained in:
parent
6ac9ecb3b5
commit
154f268c9e
@ -146,7 +146,7 @@ assertDocsInColl1(node, [3, 4]);
|
||||
assertPrepareConflictColl2(node, 1);
|
||||
|
||||
restartServerReplication(secondary);
|
||||
rst.awaitReplication();
|
||||
PrepareHelpers.awaitMajorityCommitted(rst, prepareTimestamp);
|
||||
|
||||
assertDocsInColl1(node, [3, 4]);
|
||||
assertPrepareConflictColl2(node, 1);
|
||||
@ -161,4 +161,4 @@ assert.commandWorked(node.adminCommand({
|
||||
assert.sameMembers(getColl2(node).find().toArray(), [{_id: 1, a: 1}]);
|
||||
|
||||
rst.stopSet();
|
||||
})();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user