Skip to content

Commit

Permalink
Simplify tests
Browse files Browse the repository at this point in the history
No need to provide defaults, as pool_config/1 will add them. This includes
a `default` tag.

Options are now checked against values other than defaults.
  • Loading branch information
gustawlippa committed Feb 17, 2022
1 parent 033f077 commit 8a37108
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 113 deletions.
1 change: 1 addition & 0 deletions test/common/config_parser_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@ merge_with_default_pool_config(PoolIn = #{type := Type}) ->

default_pool_config(Type) ->
#{scope => global,
tag => default,
opts => default_pool_wpool_opts(Type),
conn_opts => default_pool_conn_opts(Type)}.

Expand Down
Loading

0 comments on commit 8a37108

Please sign in to comment.