From 41b3e20aff03e7e5f872636ca24924f57a56f077 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 8 Jan 2024 13:25:53 -0800 Subject: [PATCH] Remove Flakey Queued Check in Contact Retry Plugin Test --- app/plugins/contactRetry_test.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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...