aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2018-09-18 09:44:41 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2018-09-18 09:44:54 +0200
commitfb367469d4782cbb371380db12274098deab6b73 (patch)
treefe812c75728ed0cc8ef072ccf036a2717b2f008b
parentmod_http_upload: Log error if 'put_url' is reused (diff)
Add ability to configure test to use new sql schema
-rw-r--r--test/ejabberd_SUITE_data/ejabberd.yml2
-rw-r--r--test/suite.erl1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/ejabberd_SUITE_data/ejabberd.yml b/test/ejabberd_SUITE_data/ejabberd.yml
index 51cb85a5a..e720ac103 100644
--- a/test/ejabberd_SUITE_data/ejabberd.yml
+++ b/test/ejabberd_SUITE_data/ejabberd.yml
@@ -525,6 +525,8 @@ shaper:
fast: 50000
normal: 10000
+new_sql_schema: @@new_schema@@
+
api_permissions:
"public commands":
who: all
diff --git a/test/suite.erl b/test/suite.erl
index ecdbd71fb..62c394a55 100644
--- a/test/suite.erl
+++ b/test/suite.erl
@@ -55,6 +55,7 @@ init_config(Config) ->
CfgContent = process_config_tpl(CfgContentTpl, [
{c2s_port, 5222},
{loglevel, 4},
+ {new_schema, false},
{s2s_port, 5269},
{component_port, 5270},
{web_port, 5280},