Update connmanager_test.go

This commit is contained in:
Aarush Bhat 2021-09-06 11:19:39 +05:30 committed by John C. Vernaleo
parent 31791ba4dc
commit 65e986844e

View file

@ -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())
} }