Skip to content

Commit d772e55

Browse files
committed
tests: fix badarg on close of resource
The resource was closed by t_hdr_close/1 and end_per_group/1, resulting in a badarg: hdr_histogram_SUITE:end_per_group failed Reason: badarg
1 parent 848f340 commit d772e55

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/hdr_histogram_SUITE.erl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,6 @@ init_per_group(_GroupName, Config) ->
9797
[{raw,Raw},{cor,Cor}|Config].
9898

9999
end_per_group(_GroupName, Config) ->
100-
Raw = ?config(raw,Config),
101-
Cor = ?config(cor,Config),
102-
hdr_histogram:close(Raw),
103-
hdr_histogram:close(Cor),
104100
Config.
105101

106102
init_per_testcase(_TestCase, Config) ->

0 commit comments

Comments
 (0)