Permalink
Browse files

.mean was replaced with .mean_<threshold>, so update unit tests.

  • Loading branch information...
mheffner committed Apr 2, 2012
1 parent bfa8e20 commit 3517cc7fb675cfa963c04d1daea9ada349d508cc
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/graphite_tests.js
View
@@ -74,6 +74,7 @@ module.exports = {
var configfile = "{graphService: \"graphite\"\n\
, batch: 200 \n\
, flushInterval: " + this.myflush + " \n\
+ , percentThreshold: 90\n\
, port: 8125\n\
, dumpMessages: false \n\
, debug: false\n\
@@ -175,7 +176,7 @@ module.exports = {
test.ok(_.any(hashes,numstat_test), 'statsd.numStats should be 1');
var testtimervalue_test = function(post){
- var mykey = 'stats.timers.a_test_value.mean';
+ var mykey = 'stats.timers.a_test_value.mean_90';
return _.include(_.keys(post),mykey) && (post[mykey] == testvalue);
};
test.ok(_.any(hashes,testtimervalue_test), 'stats.timers.a_test_value.mean should be ' + testvalue);

0 comments on commit 3517cc7

Please sign in to comment.