diff options
author | Janoš Guljaš <janos@users.noreply.github.com> | 2019-01-28 23:08:33 +0800 |
---|---|---|
committer | Anton Evangelatov <anton.evangelatov@gmail.com> | 2019-01-28 23:08:33 +0800 |
commit | 104e6b20501b23824fcbc3160fc354dc98645c5c (patch) | |
tree | 0447d7d6ba8ce6bb80ab3be949a81f30eb06e331 /swarm/pss/notify/notify_test.go | |
parent | 616cf782036de06e8f9795e4c8782363c7de9898 (diff) | |
download | go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar.gz go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar.bz2 go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar.lz go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar.xz go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.tar.zst go-tangerine-104e6b20501b23824fcbc3160fc354dc98645c5c.zip |
swarm/pss/notify: shutdown net in TestStart to fix OOM issue (#18953)
Diffstat (limited to 'swarm/pss/notify/notify_test.go')
-rw-r--r-- | swarm/pss/notify/notify_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/swarm/pss/notify/notify_test.go b/swarm/pss/notify/notify_test.go index 860a91bbe..95121b1d8 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) |