aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/erl_distribution_SUITE.erl
diff options
context:
space:
mode:
authorSiri Hansen <[email protected]>2018-09-17 15:29:03 +0200
committerSiri Hansen <[email protected]>2018-09-17 15:29:03 +0200
commitd38c98809dd5a9e44d9d7320ba934523011d7f8e (patch)
tree25a91c9a0ee73b5dde1dbf85cd89ca735bd0d082 /lib/kernel/test/erl_distribution_SUITE.erl
parente670c016cdd904fbade8cdcd5854f0ff0ced10a4 (diff)
downloadotp-d38c98809dd5a9e44d9d7320ba934523011d7f8e.tar.gz
otp-d38c98809dd5a9e44d9d7320ba934523011d7f8e.tar.bz2
otp-d38c98809dd5a9e44d9d7320ba934523011d7f8e.zip
Terminate nodes after failed test cases in erl_distribution_SUITE
A hanging node from this suite can fail later tests, so terminate all nodes() after each test case.
Diffstat (limited to 'lib/kernel/test/erl_distribution_SUITE.erl')
-rw-r--r--lib/kernel/test/erl_distribution_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/kernel/test/erl_distribution_SUITE.erl b/lib/kernel/test/erl_distribution_SUITE.erl
index 0e13f0383e..5a8bbd56c4 100644
--- a/lib/kernel/test/erl_distribution_SUITE.erl
+++ b/lib/kernel/test/erl_distribution_SUITE.erl
@@ -89,6 +89,7 @@ init_per_suite(Config) ->
Config.
end_per_suite(_Config) ->
+ [slave:stop(N) || N <- nodes()],
ok.
init_per_group(_GroupName, Config) ->