[WIP] Factor out a utility app with ct helpers

This commit is contained in:
Andrey Mayorov 2018-06-19 20:26:23 +03:00
parent d983ec3ed2
commit 9394594a27
3 changed files with 24 additions and 2 deletions

View File

@ -58,8 +58,8 @@ start_app(lager = AppName) ->
{async_threshold, 1},
{async_threshold_window, 0},
{error_logger_hwm, 600},
{suppress_application_start_stop, true},
{suppress_supervisor_start_stop, true},
{suppress_application_start_stop, false},
{suppress_supervisor_start_stop, false},
{handlers, [
{lager_common_test_backend, debug}
]}
@ -75,6 +75,9 @@ start_app(woody = AppName) ->
{acceptors_pool_size, 4}
]), #{}};
start_app({AppName, AppEnv}) ->
{start_app_with(AppName, AppEnv), #{}};
start_app(AppName) ->
{start_app_with(AppName, []), #{}}.

View File

@ -0,0 +1,19 @@
{application, ff_cth, [
{description,
"Common Common Test helpers"
},
{vsn, "1"},
{registered, []},
{applications, [
kernel,
stdlib,
genlib
]},
{env, []},
{modules, []},
{maintainers, [
"Andrey Mayorov <a.mayorov@rbkmoney.com>"
]},
{licenses, []},
{links, ["https://github.com/rbkmoney/fistful-server"]}
]}.