Skip to content

Commit 77086aa

Browse files
committed
fix linter
1 parent 1b73f3e commit 77086aa

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

network/p2pMetainfo_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import (
2222
"testing"
2323

2424
"github.com/algorand/go-algorand/logging"
25+
"github.com/algorand/go-algorand/test/partitiontest"
2526
"github.com/libp2p/go-libp2p/core/peer"
2627
"github.com/stretchr/testify/assert"
2728
"github.com/stretchr/testify/mock"
@@ -45,6 +46,9 @@ func (m *MockStream) Write(p []byte) (n int, err error) {
4546
}
4647

4748
func TestReadPeerMetaHeaders(t *testing.T) {
49+
partitiontest.PartitionTest(t)
50+
t.Parallel()
51+
4852
mockStream := new(MockStream)
4953
p2pPeer := peer.ID("mockPeer")
5054
n := &P2PNetwork{
@@ -77,6 +81,9 @@ func TestReadPeerMetaHeaders(t *testing.T) {
7781
}
7882

7983
func TestWritePeerMetaHeaders(t *testing.T) {
84+
partitiontest.PartitionTest(t)
85+
t.Parallel()
86+
8087
mockStream := new(MockStream)
8188
p2pPeer := peer.ID("mockPeer")
8289
n := &P2PNetwork{

0 commit comments

Comments
 (0)