Skip to content

Cassandra MAM backend tests for travis [not merge] #102

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
Skip unsupported by Cassandra MAM back-end tests
  • Loading branch information
arcusfelis committed Dec 12, 2014
commit 0f59e797f91d5d5a5c4fe158b1be9969cdc8aa38
26 changes: 18 additions & 8 deletions tests/mam_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -189,16 +189,24 @@ is_skipped(odbc_mnesia_muc_cache, muc) -> false;
is_skipped(odbc_mnesia_muc_cache, muc_with_pm) -> false;
is_skipped(odbc_mnesia_muc_cache, muc_rsm) -> false;
is_skipped(odbc_mnesia_muc_cache, _) -> true;
is_skipped(ca, rsm) ->
true; %% only with_rsm group supported, mod_mam_con_ca_arch missing_with_jid
is_skipped(C, _) -> is_configuration_skipped(C).

is_test_skipped(ca, _, muc_querying_for_all_messages_with_jid) ->
true; % with_jid_not_supported
is_test_skipped(ca, _, querying_for_all_messages_with_jid) ->
true; % with_jid_not_supported
is_test_skipped(ca, _, pagination_offset5_opt_count) ->
true; % offset_not_supported
is_test_skipped(ca, _, pagination_offset5_opt_count_all) ->
true; % offset_not_supported
is_test_skipped(ca, muc_rsm, muc_querying_for_all_messages_with_jid) ->
true; % mod_mam_muc_ca_arch with_jid_not_supported
is_test_skipped(ca, rsm, pagination_offset5_opt_count) ->
true; % mod_mam_con_ca_arch offset_not_supported
is_test_skipped(ca, with_rsm, pagination_offset5_opt_count) ->
true; % mod_mam_con_ca_arch offset_not_supported
is_test_skipped(ca, muc_rsm, pagination_offset5_opt_count) ->
true; % mod_mam_muc_ca_arch offset_not_supported
is_test_skipped(ca, rsm, pagination_offset5_opt_count_all) ->
true; % mod_mam_con_ca_arch offset_not_supported
is_test_skipped(ca, with_rsm, pagination_offset5_opt_count_all) ->
true; % mod_mam_con_ca_arch offset_not_supported
is_test_skipped(ca, muc_rsm, pagination_offset5_opt_count_all) ->
true; % mod_mam_muc_ca_arch offset_not_supported
is_test_skipped(_C, _G, _Test) ->
false.

Expand Down Expand Up @@ -261,9 +269,11 @@ muc_cases() ->
muc_rsm_cases() ->
rsm_cases().

%% RSM cases with filtering by countact jid
with_rsm_cases() ->
rsm_cases().

%% RSM cases without filtering by countact jid
rsm_cases() ->
[pagination_first5,
pagination_last5,
Expand Down