From faf7bca35d6250101ce23307e7586d7ce524e2a0 Mon Sep 17 00:00:00 2001 From: Benjamin Wenger <ben@elixxir.ioo> Date: Tue, 5 Oct 2021 08:14:55 -0700 Subject: [PATCH] fixed a test --- connect/host.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connect/host.go b/connect/host.go index 07a9302..cfd8e87 100644 --- a/connect/host.go +++ b/connect/host.go @@ -239,6 +239,7 @@ func (h *Host) SetMetricsTesting(m *Metric, face interface{}) { func (h *Host) Disconnect() { h.connectionMux.Lock() defer h.connectionMux.Unlock() + h.disconnect() } // ConditionalDisconnect closes a the Host connection under the write lock only -- GitLab