From 6ad7b46885a3fc9c7a997087e762aa25b8f3eadb Mon Sep 17 00:00:00 2001 From: HuangDan Date: Mon, 8 Jan 2018 13:39:52 +0800 Subject: [PATCH] Fix failed test --- test/emqttd_config_SUITE.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/emqttd_config_SUITE.erl b/test/emqttd_config_SUITE.erl index 04c957b75..744f7402e 100644 --- a/test/emqttd_config_SUITE.erl +++ b/test/emqttd_config_SUITE.erl @@ -115,9 +115,9 @@ run_connection_cmd(_Config) -> ?assertEqual(1000, E). run_broker_config(_Config) -> - emqttd_cli_config:run(["config", "set", "mqtt.broker.sys_interval=10", "--app=emqttd"]), + emqttd_cli_config:run(["config", "set", "mqtt.broker.sys_interval=6000ms", "--app=emqttd"]), {ok, E} = application:get_env(emqttd, broker_sys_interval), - ?assertEqual(10, E). + ?assertEqual(6000, E). env_value("client", {Key, Type}) -> case string:split(Key, "=") of