summaryrefslogtreecommitdiff
path: root/share/www/script/test/stats.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/stats.js')
-rw-r--r--share/www/script/test/stats.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/test/stats.js b/share/www/script/test/stats.js
index 6d56a81b..267a48ef 100644
--- a/share/www/script/test/stats.js
+++ b/share/www/script/test/stats.js
@@ -56,21 +56,21 @@ couchTests.stats = function(debug) {
value: max.toString()}],
function () {
- var files_open = requestStatsTest("couchdb", "open_os_files").current;
+ var files_open = requestStatsTest("couchdb", "open_databases").current;
for(var i=0; i<max+1; i++) {
var db = new CouchDB("test_suite_db" + i);
db.deleteDb();
db.createDb();
}
- var open_databases = requestStatsTest("couchdb", "open_os_files").max;
+ var open_databases = requestStatsTest("couchdb", "open_databases").max;
T(open_databases > 0 && max >= open_databases, name);
for(var i=0; i<max+1; i++) {
var db = new CouchDB("test_suite_db" + i);
db.deleteDb();
}
- T(files_open == requestStatsTest("couchdb", "open_os_files").current);
+ T(files_open == requestStatsTest("couchdb", "open_databases").current);
})
},
};