diff options
author | Sverker Eriksson <sverker@erlang.org> | 2022-08-23 19:29:33 +0200 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2022-08-23 19:29:33 +0200 |
commit | f0901cdd4c014920efffb82196ff352f982614e4 (patch) | |
tree | 9b176139f53fc569fc1cd27766c1e93f0c63d6c9 /erts/emulator/test/signal_SUITE.erl | |
parent | 5a2765dc3e6ae4da55fd6101ac48ef9b35767bad (diff) | |
parent | 81ad5ad54bf00c21b073ca6ea77524c67ecb90a7 (diff) | |
download | erlang-f0901cdd4c014920efffb82196ff352f982614e4.tar.gz |
Merge branch 'sverker/misc-fixes' into maint
Diffstat (limited to 'erts/emulator/test/signal_SUITE.erl')
-rw-r--r-- | erts/emulator/test/signal_SUITE.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/erts/emulator/test/signal_SUITE.erl b/erts/emulator/test/signal_SUITE.erl index ec2cbfb80e..10b7f85201 100644 --- a/erts/emulator/test/signal_SUITE.erl +++ b/erts/emulator/test/signal_SUITE.erl @@ -67,7 +67,12 @@ init_per_testcase(Func, Config) when is_atom(Func), is_list(Config) -> [{testcase, Func}|Config]. end_per_testcase(_Func, _Config) -> - ok. + case nodes(connected) of + [] -> ok; + Nodes -> + [net_kernel:disconnect(N) || N <- Nodes], + {fail, {"Leaked connections", Nodes}} + end. init_per_suite(Config) -> Config. |