fix tests

This commit is contained in:
WeidiDeng
2026-04-21 14:55:46 +08:00
parent 6d4190f4c7
commit 44d453de3c
2 changed files with 4 additions and 3 deletions
@@ -173,6 +173,7 @@ func TestHandlerCleanupRetainModeClosesOnlyRemovedUpstreams(t *testing.T) {
})
ts := newTunnelState(caddy.Log(), 0)
registerDetachedTunnelStates(ts)
connA := newTrackingReadWriteCloser()
connB := newTrackingReadWriteCloser()
ts.registerConnection(connA, nil, true, upstreamA)