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 c175714 commit 746ccb1Copy full SHA for 746ccb1
packages/mongodb-memory-server-core/src/util/MongoInstance.ts
@@ -271,7 +271,7 @@ export default class MongoInstance {
271
}
272
} else if (/\*\*\*aborting after/i.test(line)) {
273
this.instanceFailed('Mongod internal error');
274
- } else if (/transition to primary complete; database writes are now permitted/.test(line)) {
+ } else if (/transition to primary complete; database writes are now permitted/i.test(line)) {
275
this.isInstancePrimary = true;
276
this.debug('Calling all waitForPrimary resolve functions');
277
this.waitForPrimaryResolveFns.forEach((resolveFn) => resolveFn(true));
0 commit comments