Closed henaff closed 1 year ago
A workaround is to run dotnet clean each time before running tests
Hi @henaff , the MongoDB executables are copied at build time and a few minutes ago I've changed the CopyToOutputDirectory
value from Always
to PreserveNewest
, so that might help to prevent copying files for nothing (see 1.1.2).
However, it your mongod
process in your bin/
directory is still being used, it means that the process was not correctly disposed. You must dispose the IMongoRunner
that you get when calling MongoRunner.Run
, and try to reuse it as much as you can in your test project.
The first time i launch my tests, the package works perfectly. But then if i relaunch my tests i get: