couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1095387 - /couchdb/branches/1.1.x/share/www/script/test/replicator_db.js
Date Wed, 20 Apr 2011 12:16:06 GMT
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);



Mime
View raw message