Skip to content

Commit 6ea5167

Browse files
aartamonaumichaelklishin
authored andcommitted
Fix sup_delayed_restart_SUITE.
To accommodate changes made in rabbitmq/rabbitmq-common#201.
1 parent 9084194 commit 6ea5167

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/sup_delayed_restart_SUITE.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ exit_child(SupPid) ->
8181
with_child_pid(SupPid, Fun) ->
8282
case supervisor2:which_children(SupPid) of
8383
[{_Id, undefined, worker, [?MODULE]}] -> ok;
84+
[{_Id, restarting, worker, [?MODULE]}] -> ok;
8485
[{_Id, ChildPid, worker, [?MODULE]}] -> Fun(ChildPid);
8586
[] -> ok
8687
end.

0 commit comments

Comments
 (0)