couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couchdb commit: updated refs/heads/master to 9be7eb9
Date Wed, 03 Sep 2014 20:52:18 GMT
Repository: couchdb
Updated Branches:
  refs/heads/master ae73f4641 -> 9be7eb980


improve stats.js test


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/9be7eb98
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/9be7eb98
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/9be7eb98

Branch: refs/heads/master
Commit: 9be7eb980ad05d5adf86f23ff6687b3ec688df25
Parents: ae73f46
Author: Robert Newson <rnewson@apache.org>
Authored: Wed Sep 3 21:52:08 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Sep 3 21:52:08 2014 +0100

----------------------------------------------------------------------
 share/www/script/test/stats.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/9be7eb98/share/www/script/test/stats.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/stats.js b/share/www/script/test/stats.js
index cfe232f..87440b3 100644
--- a/share/www/script/test/stats.js
+++ b/share/www/script/test/stats.js
@@ -327,9 +327,11 @@ couchTests.stats = function(debug) {
   var test_metrics = function(metrics) {
     if (metrics.type === "counter") {
       test_counter(metrics);
+    } else if (metrics.type === "gauge") {
+      test_counter(metrics);
     } else if (metrics.type === "histogram") {
       test_histogram(metrics);
-    } else {
+    } else if (metrics.type === undefined) {
       for (var k in metrics) {
         test_metrics(metrics[k]);
       }


Mime
View raw message