We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d421e01 commit 952fbf5Copy full SHA for 952fbf5
packages/mongodb-memory-server-core/src/MongoMemoryReplSet.ts
@@ -483,6 +483,7 @@ export class MongoMemoryReplSet extends EventEmitter {
483
useNewUrlParser: true,
484
useUnifiedTopology: true,
485
});
486
+ log('_initReplSet: connected');
487
488
try {
489
let adminDb = con.db('admin');
@@ -497,6 +498,7 @@ export class MongoMemoryReplSet extends EventEmitter {
497
498
},
499
};
500
501
+ log('_initReplSet: trying "replSetInitiate"');
502
await adminDb.command({ replSetInitiate: rsConfig });
503
504
if (typeof this._replSetOpts.auth === 'object') {
0 commit comments