diff --git a/app/plugins/contactRetry_test.go b/app/plugins/contactRetry_test.go index 0543c99..3ec0fc7 100644 --- a/app/plugins/contactRetry_test.go +++ b/app/plugins/contactRetry_test.go @@ -36,15 +36,12 @@ func TestContactRetryQueue(t *testing.T) { // progress... setup := false for !setup { - if pinf, exists := cr.connections.Load(testOnion); exists { - if pinf.(*contact).queued { + if _, exists := cr.connections.Load(testOnion); exists { if _, exists := cr.authorizedPeers.Load(testOnion); exists { t.Logf("authorized") setup = true } - } } - time.Sleep(time.Second) } // We should very quickly become connecting...