mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
Use init_per_suite instead of all/0 for init in tracer_SUITE
This commit is contained in:
parent
521266326d
commit
ca6477af7b
1 changed files with 7 additions and 1 deletions
|
@ -29,9 +29,15 @@ suite() ->
|
|||
%% We initialize trace patterns here. Appropriate would be in
|
||||
%% init_per_suite/1, but this works just as well.
|
||||
all() ->
|
||||
cowboy_tracer_h:set_trace_patterns(),
|
||||
cowboy_test:common_all().
|
||||
|
||||
init_per_suite(Config) ->
|
||||
cowboy_tracer_h:set_trace_patterns(),
|
||||
Config.
|
||||
|
||||
end_per_suite(_) ->
|
||||
ok.
|
||||
|
||||
%% We want tests for each group to execute sequentially
|
||||
%% because we need to modify the protocol options. Groups
|
||||
%% can run in parallel however.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue