Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

Commit

Permalink
swarm/network/stream: raise newStreamerTester waitForPeers timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
janos committed Feb 8, 2019
1 parent 4d65aea commit 73d5c97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swarm/network/stream/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func newStreamerTester(registryOptions *RegistryOptions) (*p2ptest.ProtocolTeste
}
protocolTester := p2ptest.NewProtocolTester(addr.ID(), 1, streamer.runProtocol)

err = waitForPeers(streamer, 1*time.Second, 1)
err = waitForPeers(streamer, 10*time.Second, 1)
if err != nil {
teardown()
return nil, nil, nil, nil, errors.New("timeout: peer is not created")
Expand Down

0 comments on commit 73d5c97

Please sign in to comment.