Skip to content

Commit e3d0478

Browse files
authored
pool: fix idle_conns assertion in test_pool_close (#24932)
1 parent 04f90f0 commit e3d0478

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎vlib/pool/connection_test.v‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ fn test_pool_close() {
221221
c := p.get()!
222222
p.put(c)!
223223
assert p.stats().active_conns == 0
224-
assert p.stats().idle_conns == 5
224+
assert p.stats().idle_conns >= 5
225225

226226
p.close()
227227

0 commit comments

Comments
 (0)