aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/fun_SUITE.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-03-18 15:06:02 +0100
committerLukas Larsson <[email protected]>2019-03-25 16:34:11 +0100
commit043d9e406fc0ffae447b245b853014c7c739b31d (patch)
treece464f8ae2346b986fea00c67dca2ce5691b9693 /erts/emulator/test/fun_SUITE.erl
parentc0ca8209570b42bfbb029eb7e9ae8750a43fb739 (diff)
downloadotp-043d9e406fc0ffae447b245b853014c7c739b31d.tar.gz
otp-043d9e406fc0ffae447b245b853014c7c739b31d.tar.bz2
otp-043d9e406fc0ffae447b245b853014c7c739b31d.zip
erts: Always stop any testnodes before testcase exits
This needs to be done in order for automatic fd leak checking to work properly.
Diffstat (limited to 'erts/emulator/test/fun_SUITE.erl')
-rw-r--r--erts/emulator/test/fun_SUITE.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/erts/emulator/test/fun_SUITE.erl b/erts/emulator/test/fun_SUITE.erl
index 4042b58ff2..7f6caa08f1 100644
--- a/erts/emulator/test/fun_SUITE.erl
+++ b/erts/emulator/test/fun_SUITE.erl
@@ -592,7 +592,8 @@ refc_dist(Config) when is_list(Config) ->
3 = fun_refc(F2),
true = erlang:garbage_collect(),
2 = fun_refc(F),
- refc_dist_send(Node, F).
+ refc_dist_send(Node, F),
+ test_server:stop_node(Node).
refc_dist_send(Node, F) ->
Pid = spawn_link(Node, fun() -> receive
@@ -682,6 +683,7 @@ t_arity(Config) when is_list(Config) ->
43 = spawn_call(Node, fun(X, Y) -> A+X+Y end),
1 = spawn_call(Node, fun(X, Y) -> X+Y end),
45 = spawn_call(Node, fun(X, Y, Z) -> A+X+Y+Z end),
+ test_server:stop_node(Node),
ok.
t_is_function2(Config) when is_list(Config) ->