fix(emqx_postgresql): fix lifecycle test
This commit is contained in:
parent
dbe73c70b1
commit
2e3028a8f8
|
@ -61,13 +61,15 @@ end_per_testcase(_, _Config) ->
|
|||
|
||||
t_lifecycle(_Config) ->
|
||||
perform_lifecycle_check(
|
||||
<<"emqx_postgresql_SUITE">>,
|
||||
<<"connector:pgsql:emqx_postgresql_SUITE">>,
|
||||
pgsql_config()
|
||||
).
|
||||
|
||||
perform_lifecycle_check(ResourceId, InitialConfig) ->
|
||||
x:show(initial_config, InitialConfig),
|
||||
{ok, #{config := CheckedConfig}} =
|
||||
emqx_resource:check_config(?PGSQL_RESOURCE_MOD, InitialConfig),
|
||||
x:show(check_config_ok, CheckedConfig),
|
||||
{ok, #{
|
||||
state := #{pool_name := PoolName} = State,
|
||||
status := InitialStatus
|
||||
|
|
Loading…
Reference in New Issue