From a29fd4162234f0d810b4be060e58efd46b216767 Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Wed, 20 Apr 2011 12:16:05 +0000 Subject: Merged revision 1095386 from trunk Avoid replicator_db.js test failures due to timing issues These happen sometimes on slower machines. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1095387 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/replicator_db.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/www/script/test/replicator_db.js b/share/www/script/test/replicator_db.js index 3eeefe1a..2810352c 100644 --- a/share/www/script/test/replicator_db.js +++ b/share/www/script/test/replicator_db.js @@ -801,7 +801,8 @@ couchTests.replicator_db = function(debug) { TEquals(true, dbA.save(new_doc).ok); TEquals(true, dbB.save(new_doc).ok); - wait(1000); + waitForSeq(dbA, dbA_copy); + waitForSeq(dbB, dbB_copy); TEquals(true, repDb2.save(repDoc3).ok); waitForSeq(dbC, dbC_copy); -- cgit v1.2.3