diff --git a/internal/p2p/router_test.go b/internal/p2p/router_test.go index ea4eb74db..57f2e21dd 100644 --- a/internal/p2p/router_test.go +++ b/internal/p2p/router_test.go @@ -478,6 +478,7 @@ func TestRouter_AcceptPeers_ErrorEOF(t *testing.T) { mockTransport.AssertExpectations(t) } + func TestRouter_AcceptPeers_ErrorCanceled(t *testing.T) { t.Cleanup(leaktest.Check(t))