Open prondzyn opened 3 months ago
@prondzyn do you have some more logging/stacktrace?
Unfortunately I do not have nothing particular.
Additionally, we tested the same on other Windows 11 machine and there the problem does not occur :/ Everything works correctly there.
So the problem is probably my machine-specific. So I think we can close the issue. But it is worth to be aware that is some (unknown) circumstances the problem can occur.
@prondzyn .. stopping processes on windows is tricky.. thats why i try to avoid to kill the process but shutdown the mongodb instead.. but if this fails, than there will be some problems.. so if you have such a case and some more logging i would be glad to see these..
We are migrating our application from Spring Boot 2.x to 3.x. So we upgraded embed mongo from:
to:
Then we are running
mvn clean test
then.Tests are running without any problems on Linux machines.
But Windows (tested on Windows 11) users have a problem. Running hands on:
and does not move forward.
Workaround
I've found a workaround. I can run the
mvn clean test
as administrator, so then everything moves smoothly.What is the real solution?
Workaround is good for a short term, but I do not understand why user which is creating process cannot exit them. Did anyone faced similar issue working on Windows?