You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
starts before call to await MongoBinary.getPath(this.binaryOpts); (which lazy-downloads the binary), meaning the timeout times out during slow download too.
Fix could be moving await MongoBinary.getPath(this.binaryOpts); before the timeout start.
The text was updated successfully, but these errors were encountered:
Versions
package: mongo-memory-server-core
What is the Problem?
When mongodb binary isn't already downloaded, the launch timeout triggers during the download process
Code Example
Debug Output
Do you know why it happens?
Yes: Timeout created at
mongodb-memory-server/packages/mongodb-memory-server-core/src/util/MongoInstance.ts
Lines 348 to 374 in c4756c4
starts before call to
await MongoBinary.getPath(this.binaryOpts);
(which lazy-downloads the binary), meaning the timeout times out during slow download too.Fix could be moving
await MongoBinary.getPath(this.binaryOpts);
before the timeout start.The text was updated successfully, but these errors were encountered: