pool: fix idle_conns assertion in test_pool_close (#24932)

This commit is contained in:
Kim Shrier 2025-07-20 02:14:57 -06:00 committed by GitHub
parent 04f90f0f2c
commit e3d047822d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -221,7 +221,7 @@ fn test_pool_close() {
c := p.get()!
p.put(c)!
assert p.stats().active_conns == 0
assert p.stats().idle_conns == 5
assert p.stats().idle_conns >= 5
p.close()