Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add test for statsd_metrics

  • Loading branch information...
commit 4cf1e6d206bc66995cb0d64326ebc1c395c53164 1 parent 2546ee6
@mrtazz mrtazz authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 test/process_metrics_tests.js
View
7 test/process_metrics_tests.js
@@ -116,5 +116,12 @@ module.exports = {
test.equal(200, timer_data.upper_80);
test.equal(300, timer_data.sum_80);
test.done();
+ },
+ statsd_metrics_exist: function(test) {
+ test.expect(1);
+ pm.process_metrics(this.metrics, 100, this.time_stamp, function(){});
+ statsd_metrics = this.metrics.statsd_metrics;
+ test.notEqual(undefined, statsd_metrics["processing_time"]);
+ test.done();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.