mirror of
https://github.com/btcsuite/btcd.git
synced 2025-03-10 09:19:28 +01:00
Update connmanager_test.go
This commit is contained in:
parent
31791ba4dc
commit
65e986844e
1 changed files with 1 additions and 1 deletions
|
@ -464,7 +464,7 @@ func TestRemovePendingConnection(t *testing.T) {
|
||||||
time.Sleep(10 * time.Millisecond)
|
time.Sleep(10 * time.Millisecond)
|
||||||
|
|
||||||
// Now examine the status of the connection request, it should read a
|
// Now examine the status of the connection request, it should read a
|
||||||
// status of failed.
|
// status of ConnCanceled.
|
||||||
if cr.State() != ConnCanceled {
|
if cr.State() != ConnCanceled {
|
||||||
t.Fatalf("request wasn't canceled, status is: %v", cr.State())
|
t.Fatalf("request wasn't canceled, status is: %v", cr.State())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue