Skip to content

Commit

Permalink
remove spurios console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
daleharvey committed Apr 21, 2012
1 parent 7ef2cc4 commit df22d93
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test.replication.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ asyncTest("Test basic pull replication", function() {
var self = this; var self = this;
initDBPair(this.name, this.remote, function(db, remote) { initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) { remote.bulkDocs({docs: docs}, {}, function(err, results) {
//console.log(db, db.replicate().from());
db.replicate().from(self.remote, function(err, result) { db.replicate().from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok'); ok(result.ok, 'replication was ok');
ok(result.docs_written = docs.length, 'correct # docs written'); ok(result.docs_written = docs.length, 'correct # docs written');
Expand Down Expand Up @@ -64,7 +63,6 @@ asyncTest("Test basic push replication take 2", function() {
db.bulkDocs({docs: docs}, {}, function(err, _) { db.bulkDocs({docs: docs}, {}, function(err, _) {
db.replicate().to(self.remote, function(err, _) { db.replicate().to(self.remote, function(err, _) {
remote.allDocs(function(err, result) { remote.allDocs(function(err, result) {
console.log(JSON.stringify(result));
ok(result.rows.length === docs.length, 'correct # docs written'); ok(result.rows.length === docs.length, 'correct # docs written');
start(); start();
}); });
Expand Down

0 comments on commit df22d93

Please sign in to comment.