You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fd...@apache.org on 2011/04/20 14:16:06 UTC

svn commit: r1095387 - /couchdb/branches/1.1.x/share/www/script/test/replicator_db.js

Author: fdmanana
Date: Wed Apr 20 12:16:05 2011
New Revision: 1095387

URL: http://svn.apache.org/viewvc?rev=1095387&view=rev
Log:
Merged revision 1095386 from trunk

    Avoid replicator_db.js test failures due to timing issues

    These happen sometimes on slower machines. 

Modified:
    couchdb/branches/1.1.x/share/www/script/test/replicator_db.js

Modified: couchdb/branches/1.1.x/share/www/script/test/replicator_db.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/test/replicator_db.js?rev=1095387&r1=1095386&r2=1095387&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/www/script/test/replicator_db.js (original)
+++ couchdb/branches/1.1.x/share/www/script/test/replicator_db.js Wed Apr 20 12:16:05 2011
@@ -801,7 +801,8 @@ couchTests.replicator_db = function(debu
 
     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);