core/storage: hijack connections for notification listeners (#4806)

This commit is contained in:
Caleb Doxsey 2023-12-04 09:29:10 -07:00 committed by GitHub
parent 4559320463
commit 1780fefa72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 46 additions and 36 deletions

View file

@ -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
}))
}