couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r756404 - /couchdb/trunk/share/www/script/test/stats.js
Date Fri, 20 Mar 2009 10:26:18 GMT
Author: jan
Date: Fri Mar 20 10:26:13 2009
New Revision: 756404

URL: http://svn.apache.org/viewvc?rev=756404&view=rev
Log:
remove leftovers of MOVE form the stats tests

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=756404&r1=756403&r2=756404&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/stats.js (original)
+++ couchdb/trunk/share/www/script/test/stats.js Fri Mar 20 10:26:13 2009
@@ -264,22 +264,6 @@
 
      TEquals(copies + 1, new_copies, name);
    },
-   'should increment database changes counter for document moves': function(name) {
-     var db = new CouchDB("test_suite_db");
-     db.deleteDb();
-     db.createDb();
-
-     var doc = {"_id":"test"};
-     db.save(doc);
-
-     var moves = requestStatsTest("couchdb", "database_writes").current;
-     CouchDB.request("MOVE", "/test_suite_db/test?rev=" + doc._rev, {
-       headers: {"Destination":"move_of_test"}
-     });
-     var new_moves = requestStatsTest("couchdb", "database_writes").current;
-
-     TEquals(moves + 1, new_moves, name);
-   },
    'should increase the bulk doc counter': function(name) {
      var db = new CouchDB("test_suite_db");
      db.deleteDb();



Mime
View raw message