mirror of
https://github.com/caddyserver/caddy.git
synced 2026-05-30 10:35:18 -04:00
fix tests
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user