mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-12 16:47:41 +02:00
core/storage: hijack connections for notification listeners (#4806)
This commit is contained in:
parent
4559320463
commit
1780fefa72
2 changed files with 46 additions and 36 deletions
|
@ -195,6 +195,9 @@ func TestBackend(t *testing.T) {
|
|||
storagetest.TestBackendPatch(t, ctx, backend)
|
||||
})
|
||||
|
||||
assert.Equal(t, int32(0), backend.pool.Stat().AcquiredConns(),
|
||||
"acquired connections should be released")
|
||||
|
||||
return nil
|
||||
}))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue