mirror of https://github.com/status-im/op-geth.git
swarm/pss/notify: shutdown net in TestStart to fix OOM issue (#18953)
This commit is contained in:
parent
616cf78203
commit
104e6b2050
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue