mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 01:43:47 +00:00
swarm/netork/stream/testing: remove trace log lines in teardown functions
This commit is contained in:
parent
b3be75c537
commit
9f88c689ab
1 changed files with 0 additions and 5 deletions
|
|
@ -143,9 +143,7 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) {
|
||||||
DefaultService: defaultService,
|
DefaultService: defaultService,
|
||||||
})
|
})
|
||||||
teardown := func() {
|
teardown := func() {
|
||||||
log.Trace("simulation: teardown adapter")
|
|
||||||
adapterTeardown()
|
adapterTeardown()
|
||||||
log.Trace("simulation: teardown net")
|
|
||||||
net.Shutdown()
|
net.Shutdown()
|
||||||
}
|
}
|
||||||
ids := make([]discover.NodeID, nodes)
|
ids := make([]discover.NodeID, nodes)
|
||||||
|
|
@ -164,11 +162,8 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) {
|
||||||
// set nodes number of Stores available
|
// set nodes number of Stores available
|
||||||
stores, storeTeardown, err := SetStores(addrs...)
|
stores, storeTeardown, err := SetStores(addrs...)
|
||||||
teardown = func() {
|
teardown = func() {
|
||||||
log.Trace("simulation: teardown net")
|
|
||||||
net.Shutdown()
|
net.Shutdown()
|
||||||
log.Trace("simulation: teardown adapter")
|
|
||||||
adapterTeardown()
|
adapterTeardown()
|
||||||
log.Trace("simulation: teardown store")
|
|
||||||
storeTeardown()
|
storeTeardown()
|
||||||
}
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue