Fixup the initial startup of contactRetry_test.go
continuous-integration/drone/pr Build is failing
Details
continuous-integration/drone/pr Build is failing
Details
This commit is contained in:
parent
6034b8f167
commit
dacb67a563
|
@ -46,9 +46,11 @@ func TestContactRetryQueue(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We should very quickly become connecting...
|
||||||
|
time.Sleep(time.Second)
|
||||||
pinf, _ := cr.connections.Load(testOnion)
|
pinf, _ := cr.connections.Load(testOnion)
|
||||||
if pinf.(*contact).queued == false {
|
if pinf.(*contact).state != 1 {
|
||||||
t.Fatalf("test connection should be queued, actually: %v", pinf.(*contact).queued)
|
t.Fatalf("test connection should be in connecting after update, actually: %v", pinf.(*contact).state)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Asset that "test" is authenticated
|
// Asset that "test" is authenticated
|
||||||
|
|
Loading…
Reference in New Issue