Skip to content

Commit

Permalink
Fix for issue #1080 - metrics_api_SUITE:end_per_group failed for Reas…
Browse files Browse the repository at this point in the history
…on: badarg
  • Loading branch information
Ken Cox committed Dec 8, 2016
1 parent 3ebec10 commit 0bac895
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ejabberd_tests/tests/metrics_helper.erl
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ finalise_by_all_metrics_are_global(Config, false) ->
finalise_by_all_metrics_are_global(Config, true) ->
Config1 = lists:keydelete(all_metrics_are_global, 1, Config),
%% TODO: Refactor once escalus becomes compatible with multiple nodes RPC
Config2 = distributed_helper:remove_node_from_cluster(ejabberd_node_utils:mim2(), Config1),
escalus:delete_users(Config2, escalus:get_users(?ONLY_GLOBAL_METRICS_GROUP_USERS)).
distributed_helper:remove_node_from_cluster(ejabberd_node_utils:mim2(), Config1),
escalus:delete_users(Config1, escalus:get_users(?ONLY_GLOBAL_METRICS_GROUP_USERS)).

all_metrics_are_global(Config) ->
case lists:keyfind(all_metrics_are_global, 1, Config) of
Expand Down

0 comments on commit 0bac895

Please sign in to comment.