Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbtest: Use os.Kill on Windows instead of os.Interrupt #158

Merged
merged 1 commit into from
May 9, 2018

Commits on May 8, 2018

  1. fix(dbtest): Use os.Kill on windows instead of Interrupt 🐛

    I've added a use for os.Kill, instead of os.Interrupt signal, when using
    Windows. I'm current developing my project on Windows, and using
    DBServer.Stop() was resulting in: "timeout waiting for mongod process to
    die". After investigating, I've discovered that os.Interrupt isn't
    implemented on Windows, and it seems golang has Frozen this issue due to
    age (2013). They instruct to use os.Kill instead. Using this, the
    DBServer on my project works with no problem.
    ddspog committed May 8, 2018
    Configuration menu
    Copy the full SHA
    db3a6a9 View commit details
    Browse the repository at this point in the history