Skip to content
Permalink
Browse files
Fixed a small issue in grouped metrics unit tests
  • Loading branch information
viveshok committed Jan 25, 2013
1 parent 81f523a commit 1b5178a2883659161f684989d95930dadb74363e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -241,7 +241,7 @@ check_metrics() ->
[{count, 100}, {one, 100}] = folsom_metrics:get_metric_value(spiral).

check_group_metrics() ->
Metrics = get_metrics_value("mygroup"),
Metrics = folsom_metrics:get_metrics_value("mygroup"),
5 = length(Metrics),
{counter, 0} = lists:keyfind(counter,1,Metrics),
{counter2, 0} = lists:keyfind(counter2,1,Metrics),
@@ -263,7 +263,7 @@ check_group_metrics() ->

{spiral, [{count, 100}, {one, 100}]} = lists:keyfind(spiral,1,Metrics),

Counters = get_metrics_value("mygroup",counter),
Counters = folsom_metrics:get_metrics_value("mygroup",counter),
{counter, 0} = lists:keyfind(counter,1,Counters),
{counter2, 0} = lists:keyfind(counter2,1,Counters).

0 comments on commit 1b5178a

Please sign in to comment.