aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2019-07-01 13:36:05 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2019-07-01 13:36:41 +0200
commit3e8f3573a380a210af966ec04c25af92999188f7 (patch)
tree75181432932a2ec9c2a6dfc7b2fa7907c2d050db /test
parentGet rid of useless dialyzer instructions (diff)
Make count_offline_messages cache work when offline uses mam for storage
This also replace existing cache for checking if spool is empty with this cache.
Diffstat (limited to 'test')
-rw-r--r--test/ejabberd_SUITE_data/ejabberd.mysql.yml1
-rw-r--r--test/ejabberd_SUITE_data/ejabberd.pgsql.yml1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/ejabberd_SUITE_data/ejabberd.mysql.yml b/test/ejabberd_SUITE_data/ejabberd.mysql.yml
index 3de3c3f60..0b0550e18 100644
--- a/test/ejabberd_SUITE_data/ejabberd.mysql.yml
+++ b/test/ejabberd_SUITE_data/ejabberd.mysql.yml
@@ -22,6 +22,7 @@ define_macro:
db_type: sql
ram_db_type: sql
mod_offline:
+ use_cache: true
db_type: sql
mod_privacy:
db_type: sql
diff --git a/test/ejabberd_SUITE_data/ejabberd.pgsql.yml b/test/ejabberd_SUITE_data/ejabberd.pgsql.yml
index c64ccdd96..637fc61bc 100644
--- a/test/ejabberd_SUITE_data/ejabberd.pgsql.yml
+++ b/test/ejabberd_SUITE_data/ejabberd.pgsql.yml
@@ -22,6 +22,7 @@ define_macro:
db_type: sql
ram_db_type: sql
mod_offline:
+ use_cache: true
db_type: sql
mod_privacy:
db_type: sql