Remove Flakey Queued Check in Contact Retry Plugin Test
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2024-01-08 13:25:53 -08:00
parent 1c7003fb96
commit 41b3e20aff
1 changed files with 1 additions and 4 deletions

View File

@ -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...