couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1102700 - /couchdb/trunk/share/www/script/test/replication.js
Date Fri, 13 May 2011 12:45:28 GMT
Author: fdmanana
Date: Fri May 13 12:45:27 2011
New Revision: 1102700

URL: http://svn.apache.org/viewvc?rev=1102700&view=rev
Log:
Avoid ocassional replication.js test failures due to timing issues

This happens mostly on slower machines.

Modified:
    couchdb/trunk/share/www/script/test/replication.js

Modified: couchdb/trunk/share/www/script/test/replication.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/replication.js?rev=1102700&r1=1102699&r2=1102700&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/replication.js (original)
+++ couchdb/trunk/share/www/script/test/replication.js Fri May 13 12:45:27 2011
@@ -1244,6 +1244,7 @@ couchTests.replication = function(debug)
 
   var tasksAfter = JSON.parse(xhr.responseText);
   TEquals(tasks.length, tasksAfter.length);
+  waitForSeq(sourceDb, targetDb);
   T(sourceDb.open("30") !== null);
 
   // cancel replication



Mime
View raw message