couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r757744 - /couchdb/trunk/share/www/script/test/stats.js
Date Tue, 24 Mar 2009 11:32:57 GMT
Author: jan
Date: Tue Mar 24 11:32:57 2009
New Revision: 757744

URL: http://svn.apache.org/viewvc?rev=757744&view=rev
Log:
fix unstable stats test; the open_os_files counter needs a separate test

Modified:
    couchdb/trunk/share/www/script/test/stats.js

Modified: couchdb/trunk/share/www/script/test/stats.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/stats.js?rev=757744&r1=757743&r2=757744&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/stats.js (original)
+++ couchdb/trunk/share/www/script/test/stats.js Tue Mar 24 11:32:57 2009
@@ -56,21 +56,21 @@
           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);
         })
     },
  };



Mime
View raw message