Skip to content

Commit

Permalink
wip: peer discovery integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Jun 1, 2023
1 parent b213598 commit 333b1e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion p2p/integration/peer_discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func (s *backgroundPeerDiscoverySuite) ANetworkContainingANode(nodeLabel string)
s.dnsSrv = testutil.MinimalDNSMock(s)

s.busMocks, s.libp2pNetworkMock, s.p2pModules = constructors.NewBusesMocknetAndP2PModules(
s, 1, s.dnsSrv, nil, nil,
s, 1, s.dnsSrv, nil, nil, nil,
)

// i.e. "only" serviceURL as this step definition initializes the network
Expand Down Expand Up @@ -102,6 +102,7 @@ func (s *backgroundPeerDiscoverySuite) NumberOfNodesJoinTheNetwork(nodeCount int
genesisState,
s.libp2pNetworkMock,
serviceURLKeyMap,
nil,
)

err := s.libp2pNetworkMock.LinkAll()
Expand Down

0 comments on commit 333b1e9

Please sign in to comment.