Skip to content

Commit

Permalink
ensure_all_started() not supported in old OTP vsns
Browse files Browse the repository at this point in the history
  • Loading branch information
uwiger committed Aug 26, 2014
1 parent 7e5fc61 commit 30200e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/exometer_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ init_per_testcase(Case, Config) when
Case == test_folsom_histogram;
Case == test_history1_folsom;
Case == test_history4_folsom ->
application:ensure_all_started(folsom),
application:start(bear),
application:start(folsom),
exometer:start(),
Config;
init_per_testcase(Case, Config) when
Expand Down Expand Up @@ -133,6 +134,7 @@ end_per_testcase(Case, _Config) when
Case == test_history4_folsom ->
exometer:stop(),
folsom:stop(),
application:stop(bear),
ok;
end_per_testcase(Case, _Config) when
Case == test_ext_predef;
Expand Down

0 comments on commit 30200e6

Please sign in to comment.