diff options
Diffstat (limited to 'swarm/network/protocol_test.go')
-rw-r--r-- | swarm/network/protocol_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/swarm/network/protocol_test.go b/swarm/network/protocol_test.go index 2207ba308..737ad0784 100644 --- a/swarm/network/protocol_test.go +++ b/swarm/network/protocol_test.go @@ -235,6 +235,7 @@ func TestBzzHandshakeNetworkIDMismatch(t *testing.T) { if err != nil { t.Fatal(err) } + defer s.Stop() node := s.Nodes[0] err = s.testHandshake( @@ -258,6 +259,7 @@ func TestBzzHandshakeVersionMismatch(t *testing.T) { if err != nil { t.Fatal(err) } + defer s.Stop() node := s.Nodes[0] err = s.testHandshake( @@ -281,6 +283,7 @@ func TestBzzHandshakeSuccess(t *testing.T) { if err != nil { t.Fatal(err) } + defer s.Stop() node := s.Nodes[0] err = s.testHandshake( @@ -312,6 +315,7 @@ func TestBzzHandshakeLightNode(t *testing.T) { if err != nil { t.Fatal(err) } + defer pt.Stop() node := pt.Nodes[0] addr := NewAddr(node) |