Giter Site home page Giter Site logo

Comments (5)

pibi avatar pibi commented on August 21, 2024

@mborman I had the same issue. --fork is a documented feature for platforms that supports fork for process spawning. Unfortunately problem is on the mongodb-prebuilt dependency which uses spawnSync to launch mongod. spawnSync is a polyfill for child_process.spawnSync (https://nodejs.org/api/child_process.html#child_process_synchronous_process_creation). As a sync call it blocks the node event loop until the launched process exits (and this seems the reason why they use --fork).

So, with mongodb-js/mongodb-prebuilt#25 and #204 I'm able to pass the tests.

Let me know if it works for you too

from mockgoose.

pibi avatar pibi commented on August 21, 2024

@mborman Added #212 to fix #204 too.

from mockgoose.

StarpTech avatar StarpTech commented on August 21, 2024

Hi @pibi is there any chance to merge it? I run into the same issue on windows. thank you.

from mockgoose.

putuyoga avatar putuyoga commented on August 21, 2024

Hi all, October 11, this problem still happen 😆

from mockgoose.

winfinit avatar winfinit commented on August 21, 2024

Hello, I am not monitoring this project anymore, please resubmit it under mockgoose/mockgoose if this is still an issue with new 7.x release

from mockgoose.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.