From 104e6b20501b23824fcbc3160fc354dc98645c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jano=C5=A1=20Gulja=C5=A1?= Date: Mon, 28 Jan 2019 16:08:33 +0100 Subject: [PATCH] swarm/pss/notify: shutdown net in TestStart to fix OOM issue (#18953) --- swarm/pss/notify/notify_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/swarm/pss/notify/notify_test.go b/swarm/pss/notify/notify_test.go index 860a91bbe4..95121b1d8f 100644 --- a/swarm/pss/notify/notify_test.go +++ b/swarm/pss/notify/notify_test.go @@ -51,6 +51,7 @@ func TestStart(t *testing.T) { ID: "0", DefaultService: "bzz", }) + defer net.Shutdown() leftNodeConf := adapters.RandomNodeConfig() leftNodeConf.Services = []string{"bzz", "pss"} leftNode, err := net.NewNodeWithConfig(leftNodeConf)