From 773b8eef2f8e8b1697a4c8a5c2667f0ee4c665f3 Mon Sep 17 00:00:00 2001 From: wwhai <751957846@qq.com> Date: Tue, 27 Apr 2021 19:27:39 +0800 Subject: [PATCH] fix(deps): increase time sleep --- .../test/emqx_bridge_mqtt_data_export_import_SUITE.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl b/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl index 6fbfa726c..be3e1d6d7 100644 --- a/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl +++ b/apps/emqx_management/test/emqx_bridge_mqtt_data_export_import_SUITE.erl @@ -52,13 +52,14 @@ get_data_path() -> emqx_ct_helpers:deps_path(emqx_management, "test/emqx_bridge_mqtt_data_export_import_SUITE_data/"). remove_resource(Id) -> + timer:sleep(1000), emqx_rule_registry:remove_resource(Id), emqx_rule_registry:remove_resource_params(Id). import(FilePath, Version) -> ok = emqx_mgmt_data_backup:import(get_data_path() ++ "/" ++ FilePath, <<"{}">>), lists:foreach(fun(#resource{id = Id, config = Config} = _Resource) -> - timer:sleep(1000), + timer:sleep(2000), case Id of <<"bridge">> -> test_utils:resource_is_alive(Id), @@ -181,4 +182,4 @@ handle_config(Config, ee430, rpc) -> handle_config(Config, ee435, Id) -> handle_config(Config, ee430, Id). --endif. \ No newline at end of file +-endif.