mirror of
https://github.com/vlang/v.git
synced 2025-08-03 09:47:15 -04:00
pool: fix idle_conns assertion in test_pool_close (#24932)
This commit is contained in:
parent
04f90f0f2c
commit
e3d047822d
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user