From 9f88c689ab2e0c855cdddcd1575ec1d1fea57a02 Mon Sep 17 00:00:00 2001 From: Janos Guljas Date: Thu, 12 Apr 2018 13:11:47 +0200 Subject: [PATCH] swarm/netork/stream/testing: remove trace log lines in teardown functions --- swarm/network/stream/testing/testing.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/swarm/network/stream/testing/testing.go b/swarm/network/stream/testing/testing.go index b19ba4a6ee..29d8026a22 100644 --- a/swarm/network/stream/testing/testing.go +++ b/swarm/network/stream/testing/testing.go @@ -143,9 +143,7 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) { DefaultService: defaultService, }) teardown := func() { - log.Trace("simulation: teardown adapter") adapterTeardown() - log.Trace("simulation: teardown net") net.Shutdown() } ids := make([]discover.NodeID, nodes) @@ -164,11 +162,8 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) { // set nodes number of Stores available stores, storeTeardown, err := SetStores(addrs...) teardown = func() { - log.Trace("simulation: teardown net") net.Shutdown() - log.Trace("simulation: teardown adapter") adapterTeardown() - log.Trace("simulation: teardown store") storeTeardown() } if err != nil {