Skip to content

Commit

Permalink
fixup! [supervisor] Add test of scaling on start/stop of many children
Browse files Browse the repository at this point in the history
  • Loading branch information
sirihansen committed Oct 31, 2017
1 parent 9cdceb1 commit 53296db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/stdlib/test/supervisor_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ end_per_testcase(_Case, _Config) ->
_ ->
error
end,
application:start(sasl), % sasl is stopped by some test cases
ok.

start_link(InitResult) ->
Expand Down Expand Up @@ -2339,6 +2340,7 @@ order_of_children(_Config) ->
%% Test that a non-simple supervisor scales well for starting and
%% stopping many children.
scale_start_stop_many_children(_Config) ->
application:stop(sasl), % to avoid progress reports choking cth_log_redirect
process_flag(trap_exit, true),
{ok, _Pid} = start_link({ok, {{one_for_one, 2, 3600}, []}}),
N1 = 1000,
Expand Down

0 comments on commit 53296db

Please sign in to comment.