I am running tests and at beginning of test I have line like this.
let pool = PgPoolOptions::new()
.max_connections(5)
.connect(&url)
.await
.unwrap()
// clean up old database
And at the end of each test I have a line like this
First test runs well, but second tests onwards throw error that there is still connection when it tries to clean up old database
Everything runs well with 0.5.10.
This might be related to the issue: #1776.