summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2011-04-20 12:16:05 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2011-04-20 12:16:05 +0000
commita29fd4162234f0d810b4be060e58efd46b216767 (patch)
treed712c0a13a1e81ec09432ca40f6a95f92052f61c /share/www
parent901849763f419e49a1e91bbf889b5bb500b1212d (diff)
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
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/replicator_db.js3
1 files changed, 2 insertions, 1 deletions
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);