From d61c39bbd8d0161f49040653eae2687bbce1d565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Cidre?= Date: Wed, 11 Jul 2018 16:42:51 +0200 Subject: [PATCH] Fix timeout issues with TestRequestMessagesSuccess (#1091) --- services/shhext/service_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shhext/service_test.go b/services/shhext/service_test.go index 87165f7a6..6c41e68c2 100644 --- a/services/shhext/service_test.go +++ b/services/shhext/service_test.go @@ -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