mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
Fix timeout issues with TestRequestMessagesSuccess (#1091)
This commit is contained in:
parent
ef7da275d4
commit
d61c39bbd8
@ -245,8 +245,8 @@ func (s *ShhExtSuite) TestRequestMessagesSuccess() {
|
||||
defer func() { s.NoError(mailNode.Stop()) }()
|
||||
|
||||
// add mailPeer as a peer
|
||||
aNode.Server().AddPeer(mailNode.Server().Self())
|
||||
waitErr := helpers.WaitForPeerAsync(aNode.Server(), mailNode.Server().Self().String(), p2p.PeerEventTypeAdd, time.Second)
|
||||
aNode.Server().AddPeer(mailNode.Server().Self())
|
||||
s.NoError(<-waitErr)
|
||||
|
||||
var hash []byte
|
||||
|
Loading…
x
Reference in New Issue
Block a user