aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/test/dump_SUITE.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/test/dump_SUITE.erl b/erts/emulator/test/dump_SUITE.erl
index 3b860ebdf6..2440833992 100644
--- a/erts/emulator/test/dump_SUITE.erl
+++ b/erts/emulator/test/dump_SUITE.erl
@@ -146,7 +146,7 @@ free_dump(Config) when is_list(Config) ->
Self ! ready,
receive
ok ->
- unlink(Self),
+ spawn(fun() -> timer:sleep(5), erlang:halt("dump") end),
exit(lists:duplicate(1000,1000))
end
end),
@@ -156,8 +156,6 @@ free_dump(Config) when is_list(Config) ->
[erlang:monitor(process, Pid) || _ <- lists:seq(1,10000)],
receive ready -> unlink(Pid), Pid ! ok end,
- rpc:call(Node, erlang, halt, ["dump"]),
-
{ok, Bin} = get_dump_when_done(Dump),
{match, Matches} = re:run(Bin,"^State: Non Existing", [global, multiline]),