Ct helpers: add "** killed" to the defaul log crash ignore list.

Exits the with reason "killed" only occurs "naturally" in OTP
when a supervisor tries to shut a child down and it times out.

It is used for failure simulation in tests quite frequently however.
This commit is contained in:
Karl Nilsson 2025-01-23 13:24:08 +00:00
parent 0886d9861c
commit 4d53c37479
1 changed files with 1 additions and 1 deletions

View File

@ -1206,7 +1206,7 @@ stop_rabbitmq_nodes(Config) ->
case FindCrashes of
true ->
%% TODO: Make the ignore list configurable.
IgnoredCrashes0 = ["** force_vhost_failure"],
IgnoredCrashes0 = ["** force_vhost_failure", "** killed"],
case rabbit_ct_helpers:get_config(Config, ignored_crashes) of
undefined ->
find_crashes_in_logs(NodeConfigs, IgnoredCrashes0);