From 9f83544fceeb6d2e36ef584718bad1c456aaef9e Mon Sep 17 00:00:00 2001 From: Gilbert Date: Sun, 6 Jan 2019 19:53:01 +0800 Subject: [PATCH] Fix failed testcase (#2127) * Fix failed test case Prior to this change, terry-xiaoyu enhanced the cuttlefish to support emqx enterprise edtion configuration entries. But it cause 6 test case failed. * Fix dep-vsn-check --- rebar.config | 2 +- test/emqx_protocol_SUITE.erl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rebar.config b/rebar.config index 8fa9663ae..993790aa9 100644 --- a/rebar.config +++ b/rebar.config @@ -9,7 +9,7 @@ {ekka, "v0.5.1"}, {replayq, "v0.1.1"}, {esockd, "v5.4.3"}, - {cuttlefish, "v2.2.0"} + {cuttlefish, "v2.2.1"} ]}. {edoc_opts, [{preprocess, true}]}. diff --git a/test/emqx_protocol_SUITE.erl b/test/emqx_protocol_SUITE.erl index 5189a395b..571019a15 100644 --- a/test/emqx_protocol_SUITE.erl +++ b/test/emqx_protocol_SUITE.erl @@ -61,7 +61,7 @@ init_per_suite(Config) -> [start_apps(App, SchemaFile, ConfigFile) || {App, SchemaFile, ConfigFile} <- [{emqx, deps_path(emqx, "priv/emqx.schema"), - deps_path(emqx, "etc/emqx.conf")}]], + deps_path(emqx, "etc/gen.emqx.conf")}]], emqx_zone:set_env(external, max_topic_alias, 20), Config.