Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 3517cc7fb675cfa963c04d1daea9ada349d508cc 1 parent bfa8e20
@mheffner mheffner authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  test/graphite_tests.js
View
3  test/graphite_tests.js
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.