Open marcdexet-cnrs opened 3 years ago
Hi @marcdexet-cnrs I'm looking into this, but unfortunately I can't give a certain timeframe to resolve this. In th emean time if you figure it out please feel free to submit a PR.
Looking for the stacktrace into the log it does not generated an error, but a deprecation from warn to warning? have you (@marcdexet-cnrs ) experienced any lock or other type of trouble running the test?
The mention above relates to the timeline on which I can look into this issue. I moved houses and still settling in so I don't have a proper setup to work on this yet. But I haven't forgotten about it.
Switching from 0.2.2 to 0.2.3 makes mongo client hanging for closing. Time go from 1s to 32 s for one test
To Reproduce
Run following test with 0.2.2 then 0.2.3 (pytest)
Expected behavior Avoid hanging
Logs 0.2.2
0.2.3
Screenshots Profiles generated with pycharm profilings tools
With 0_2_2![0_2_2](https://user-images.githubusercontent.com/4507672/126294675-534c4aa2-57f5-4ff3-a410-8a1f66cf6c6f.png)
With 0_2_3![0_2_3](https://user-images.githubusercontent.com/4507672/126294672-0d46cd2c-a7dd-4323-b278-c6f68d0c5a86.png)
Context: