Remove Flakey Queued Check in Contact Retry Plugin Test
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
1c7003fb96
commit
41b3e20aff
|
@ -36,15 +36,12 @@ func TestContactRetryQueue(t *testing.T) {
|
||||||
// progress...
|
// progress...
|
||||||
setup := false
|
setup := false
|
||||||
for !setup {
|
for !setup {
|
||||||
if pinf, exists := cr.connections.Load(testOnion); exists {
|
if _, exists := cr.connections.Load(testOnion); exists {
|
||||||
if pinf.(*contact).queued {
|
|
||||||
if _, exists := cr.authorizedPeers.Load(testOnion); exists {
|
if _, exists := cr.authorizedPeers.Load(testOnion); exists {
|
||||||
t.Logf("authorized")
|
t.Logf("authorized")
|
||||||
setup = true
|
setup = true
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
time.Sleep(time.Second)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// We should very quickly become connecting...
|
// We should very quickly become connecting...
|
||||||
|
|
Loading…
Reference in New Issue