diff options
Diffstat (limited to 'jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js')
-rw-r--r-- | jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js b/jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js index 3b8de49b3bd..596192d5955 100644 --- a/jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js +++ b/jstests/replsets/standalone_replication_recovery_relaxes_index_constraints.js @@ -57,6 +57,11 @@ node = rst.restart(node, { noReplSet: true, setParameter: {recoverFromOplogAsStandalone: true, logComponentVerbosity: logLevel} }); + +// Verify that the 'config.system.indexBuilds' collection is empty after recovering from the oplog +// in standalone mode. +assert.eq(0, node.getCollection("config.system.indexBuilds").count()); + reconnect(node); rst.stopSet(); |