Skip to content

Commit

Permalink
Merge pull request #10770 from rabbitmq/mergify/bp/v3.13.x/pr-10686
Browse files Browse the repository at this point in the history
feature_flags_SUITE: Kill dangling spammer process in registry_concurrent_reloads() (backport #10686)
  • Loading branch information
dumbbell committed Mar 18, 2024
2 parents 7e5740d + ec267e7 commit 8137c08
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deps/rabbit/test/feature_flags_SUITE.erl
Expand Up @@ -548,8 +548,10 @@ registry_concurrent_reloads(_Config) ->
%% all added feature flags.
timer:sleep(1000),

MRef = erlang:monitor(process, Spammer),
unlink(Spammer),
exit(Spammer, normal).
exit(Spammer, kill),
receive {'DOWN', MRef, process, Spammer, _} -> ok end.

registry_spammer(CurrentFeatureNames, FinalFeatureNames) ->
%% Infinite loop.
Expand Down

0 comments on commit 8137c08

Please sign in to comment.