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 2 years ago
committed by GitHub
parent
commit
a153f82433
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      internal/p2p/transport_mconn_test.go

+ 1
- 3
internal/p2p/transport_mconn_test.go View File

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


Loading…
Cancel
Save