Browse Source
p2p: ignore transport close error during cleanup (#8011)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
pull/8015/head
Sam Kleinman
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
internal/p2p/transport_mconn_test.go
|
|
@ -32,9 +32,7 @@ func init() { |
|
|
|
}) |
|
|
|
require.NoError(t, err) |
|
|
|
|
|
|
|
t.Cleanup(func() { |
|
|
|
require.NoError(t, transport.Close()) |
|
|
|
}) |
|
|
|
t.Cleanup(func() { _ = transport.Close() }) |
|
|
|
|
|
|
|
return transport |
|
|
|
} |
|
|
|