Race conditions in unit tests #13
Labels
Bug
Something isn't working
hacktoberfest-accepted
Issues/Pull-Requests which can be fixed during Hacktoberfest: https://hacktoberfest.digitalocean.com
Help Wanted
Bug Report
Summary
It seems that integration tests of this package have impact on each other. The mongo service shared between all tests and thus, calling
flush
on theExtMongoDb
adapter could cause failing tests.Current behavior
Integration tests do not have namespaces but even if we would start using these, the adapter does not implement
ClearByNamespaceInterface
.How to reproduce
I don't think there is a way to reproduce this. Maybe when executing
paratest
but I dont have time to dig deeper in it.Expected behavior
Tests should not have impact on each other.
The text was updated successfully, but these errors were encountered: