aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/ejabberd_SUITE_data/ejabberd.yml2
-rw-r--r--test/push_tests.erl2
2 files changed, 4 insertions, 0 deletions
diff --git a/test/ejabberd_SUITE_data/ejabberd.yml b/test/ejabberd_SUITE_data/ejabberd.yml
index 5ee287400..74cabf584 100644
--- a/test/ejabberd_SUITE_data/ejabberd.yml
+++ b/test/ejabberd_SUITE_data/ejabberd.yml
@@ -232,6 +232,7 @@ Welcome to this XMPP server."
mod_ping: []
mod_proxy65: []
mod_push: []
+ mod_push_keepalive: []
mod_s2s_dialback: []
mod_stream_mgmt:
resume_timeout: 3
@@ -294,6 +295,7 @@ Welcome to this XMPP server."
mod_ping: []
mod_proxy65: []
mod_push: []
+ mod_push_keepalive: []
mod_s2s_dialback: []
mod_stream_mgmt:
resume_timeout: 3
diff --git a/test/push_tests.erl b/test/push_tests.erl
index 535671ee1..4b49cc8fe 100644
--- a/test/push_tests.erl
+++ b/test/push_tests.erl
@@ -77,6 +77,8 @@ master_slave_cases() ->
sm_master(Config) ->
ct:comment("Waiting for the slave to close the socket"),
peer_down = get_event(Config),
+ ct:comment("Waiting a bit in order to test the keepalive feature"),
+ ct:sleep(5000), % Without mod_push_keepalive, the session would time out.
ct:comment("Sending message to the slave"),
send_test_message(Config),
ct:comment("Handling push notification"),