diff options
author | Loïc Hoguin <[email protected]> | 2023-12-01 15:46:23 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2023-12-01 15:46:23 +0100 |
commit | ca6477af7bde08b68198a059a93f021d4684de17 (patch) | |
tree | b0cdf31b87e2eb1beee92e3031d4202e6670edf9 /test | |
parent | 521266326d2dc230cfea0868856cf376b75810e7 (diff) | |
download | cowboy-ca6477af7bde08b68198a059a93f021d4684de17.tar.gz cowboy-ca6477af7bde08b68198a059a93f021d4684de17.tar.bz2 cowboy-ca6477af7bde08b68198a059a93f021d4684de17.zip |
Use init_per_suite instead of all/0 for init in tracer_SUITE
Diffstat (limited to 'test')
-rw-r--r-- | test/tracer_SUITE.erl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/tracer_SUITE.erl b/test/tracer_SUITE.erl index d87a8dc..5a7d0f7 100644 --- a/test/tracer_SUITE.erl +++ b/test/tracer_SUITE.erl @@ -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. |