Skip to content

Commit

Permalink
fix(test): Increase MongoMemoryServer creation timeout (#4881)
Browse files Browse the repository at this point in the history
Increases the creation timeout of `MongoMemoryServer` to temporarily fix Node integration test flakiness
  • Loading branch information
Lms24 authored and lobsterkatie committed Apr 26, 2022
1 parent 5a050ee commit bd509d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ conditionalTest({ min: 12 })('MongoDB Test', () => {
beforeAll(async () => {
mongoServer = await MongoMemoryServer.create();
process.env.MONGO_URL = mongoServer.getUri();
}, 30000);
}, 40000);

afterAll(async () => {
await mongoServer.stop();
Expand Down

0 comments on commit bd509d0

Please sign in to comment.