|
|
@@ -28,6 +28,7 @@ init_per_suite(Config) ->
|
|
|
ok = emqx_common_test_helpers:start_apps([emqx_conf]),
|
|
|
ok = emqx_connector_test_helpers:start_apps([emqx_resource]),
|
|
|
{ok, _} = application:ensure_all_started(emqx_connector),
|
|
|
+ {ok, _} = application:ensure_all_started(greptimedb),
|
|
|
[
|
|
|
{greptimedb_tcp_host, GreptimedbTCPHost},
|
|
|
{greptimedb_tcp_port, GreptimedbTCPPort}
|
|
|
@@ -45,7 +46,9 @@ init_per_suite(Config) ->
|
|
|
end_per_suite(_Config) ->
|
|
|
ok = emqx_common_test_helpers:stop_apps([emqx_conf]),
|
|
|
ok = emqx_connector_test_helpers:stop_apps([emqx_resource]),
|
|
|
- _ = application:stop(emqx_connector).
|
|
|
+ _ = application:stop(emqx_connector),
|
|
|
+ _ = application:stop(greptimedb),
|
|
|
+ ok.
|
|
|
|
|
|
init_per_testcase(_, Config) ->
|
|
|
Config.
|