aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/fun_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2019-04-15 12:55:01 +0200
committerBjörn Gustavsson <[email protected]>2019-04-15 12:55:01 +0200
commit113f6917a343a5db98e4771598f1a190779ca2e8 (patch)
tree5c361cd2a067386b3ba57f2c1411320f1f9f92c5 /erts/emulator/test/fun_SUITE.erl
parent7ed0636c69eafed0f30ac4bd7ae2acddeb5010d2 (diff)
parent256824fc2e441c549a39197bdae9ba8721709a8b (diff)
downloadotp-113f6917a343a5db98e4771598f1a190779ca2e8.tar.gz
otp-113f6917a343a5db98e4771598f1a190779ca2e8.tar.bz2
otp-113f6917a343a5db98e4771598f1a190779ca2e8.zip
Merge branch 'bjorn/cuddle-with-tests'
* bjorn/cuddle-with-tests: crash dump: Fix printing of "OldBinVHeap unused" crash dump: Include correct IP for a garbing process fun_SUITE: Make refc/1 test more reliable Remove redundant rule from Emakefile Turn off more optimizations for no_opt modules test_server_node: Bump compiler compatibility version to OTP 20 erts_test_utils: Bump compiler compatibility version to OTP 20 distribution_SUITE: Remove irrelevant test atom_roundtrip_r16b bs_construct_SUITE: Rename bs_add_overflow/1 to bs_append_overflow/1 bs_construct_SUITE: Remove troublesome test huge_binary/1 bs_construct_SUITE: Remove incorrect purpose line
Diffstat (limited to 'erts/emulator/test/fun_SUITE.erl')
-rw-r--r--erts/emulator/test/fun_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/test/fun_SUITE.erl b/erts/emulator/test/fun_SUITE.erl
index 7f6caa08f1..2cbde621ce 100644
--- a/erts/emulator/test/fun_SUITE.erl
+++ b/erts/emulator/test/fun_SUITE.erl
@@ -513,6 +513,8 @@ refc(Config) when is_list(Config) ->
Other -> ct:fail({unexpected,Other})
end,
process_flag(trap_exit, false),
+ %% Wait to make sure that the process has terminated completely.
+ receive after 1 -> ok end,
{refc,3} = erlang:fun_info(F1, refc),
%% Garbage collect. Only the F2 fun will be left.