fix(emqx_connector): add default Opts: '#{wait_connected => 1000}'
This commit is contained in:
parent
db0e9e3358
commit
62d3aecc09
|
@ -68,7 +68,8 @@ perform_lifecycle_check(PoolName, InitialConfig) ->
|
||||||
PoolName,
|
PoolName,
|
||||||
?CONNECTOR_RESOURCE_GROUP,
|
?CONNECTOR_RESOURCE_GROUP,
|
||||||
?MYSQL_RESOURCE_MOD,
|
?MYSQL_RESOURCE_MOD,
|
||||||
CheckedConfig
|
CheckedConfig,
|
||||||
|
#{wait_connected => 1000}
|
||||||
),
|
),
|
||||||
?assertEqual(InitialStatus, connected),
|
?assertEqual(InitialStatus, connected),
|
||||||
% Instance should match the state and status of the just started resource
|
% Instance should match the state and status of the just started resource
|
||||||
|
|
|
@ -68,7 +68,8 @@ perform_lifecycle_check(PoolName, InitialConfig) ->
|
||||||
PoolName,
|
PoolName,
|
||||||
?CONNECTOR_RESOURCE_GROUP,
|
?CONNECTOR_RESOURCE_GROUP,
|
||||||
?PGSQL_RESOURCE_MOD,
|
?PGSQL_RESOURCE_MOD,
|
||||||
CheckedConfig
|
CheckedConfig,
|
||||||
|
#{wait_connected => 1000}
|
||||||
),
|
),
|
||||||
?assertEqual(InitialStatus, connected),
|
?assertEqual(InitialStatus, connected),
|
||||||
% Instance should match the state and status of the just started resource
|
% Instance should match the state and status of the just started resource
|
||||||
|
|
|
@ -83,7 +83,8 @@ perform_lifecycle_check(PoolName, InitialConfig, RedisCommand) ->
|
||||||
PoolName,
|
PoolName,
|
||||||
?CONNECTOR_RESOURCE_GROUP,
|
?CONNECTOR_RESOURCE_GROUP,
|
||||||
?REDIS_RESOURCE_MOD,
|
?REDIS_RESOURCE_MOD,
|
||||||
CheckedConfig
|
CheckedConfig,
|
||||||
|
#{wait_connected => 1000}
|
||||||
),
|
),
|
||||||
?assertEqual(InitialStatus, connected),
|
?assertEqual(InitialStatus, connected),
|
||||||
% Instance should match the state and status of the just started resource
|
% Instance should match the state and status of the just started resource
|
||||||
|
|
Loading…
Reference in New Issue