TestApp_releaseDefaultCtx_NotAbandonedPools verifies the non-abandoned branch in releaseDefaultCtx still pools the ctx through the normal path.
(t *testing.T)
| 157 | // TestApp_releaseDefaultCtx_NotAbandonedPools verifies the non-abandoned branch |
| 158 | // in releaseDefaultCtx still pools the ctx through the normal path. |
| 159 | func TestApp_releaseDefaultCtx_NotAbandonedPools(t *testing.T) { |
| 160 | t.Parallel() |
| 161 | app, c := acquireReclaimTestCtx(t) |
| 162 | |
| 163 | require.False(t, c.IsAbandoned()) |
| 164 | require.NotPanics(t, func() { app.releaseDefaultCtx(c) }) |
| 165 | } |
nothing calls this directly
no test coverage detected