swarm/pss/notify: shutdown net in TestStart to fix OOM issue (#18953)

This commit is contained in:
Janoš Guljaš 2019-01-28 16:08:33 +01:00 committed by Anton Evangelatov
parent 616cf78203
commit 104e6b2050
1 changed files with 1 additions and 0 deletions

View File

@ -51,6 +51,7 @@ func TestStart(t *testing.T) {
ID: "0", ID: "0",
DefaultService: "bzz", DefaultService: "bzz",
}) })
defer net.Shutdown()
leftNodeConf := adapters.RandomNodeConfig() leftNodeConf := adapters.RandomNodeConfig()
leftNodeConf.Services = []string{"bzz", "pss"} leftNodeConf.Services = []string{"bzz", "pss"}
leftNode, err := net.NewNodeWithConfig(leftNodeConf) leftNode, err := net.NewNodeWithConfig(leftNodeConf)