couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject git commit: Increase test 240-replication-compact pause period
Date Wed, 05 Oct 2011 09:09:15 GMT
Updated Branches:
  refs/heads/master 0c7fbd3da -> 6f9ab6c1b


Increase test 240-replication-compact pause period

The small period of 50ms was causing the test to fail on
slower machines, as the source the database compaction
didn't finish within 30 seconds.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/6f9ab6c1
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/6f9ab6c1
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/6f9ab6c1

Branch: refs/heads/master
Commit: 6f9ab6c1b460dc05b0220f0ae0996a0ae7e1c6ff
Parents: 0c7fbd3
Author: Filipe David Manana <fdmanana@apache.org>
Authored: Wed Oct 5 10:03:41 2011 +0100
Committer: Filipe David Manana <fdmanana@apache.org>
Committed: Wed Oct 5 10:03:41 2011 +0100

----------------------------------------------------------------------
 test/etap/240-replication-compact.t |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/6f9ab6c1/test/etap/240-replication-compact.t
----------------------------------------------------------------------
diff --git a/test/etap/240-replication-compact.t b/test/etap/240-replication-compact.t
index b71c440..c8b265e 100755
--- a/test/etap/240-replication-compact.t
+++ b/test/etap/240-replication-compact.t
@@ -411,7 +411,7 @@ writer_loop(#db{name = DbName}, Parent, Counter) ->
     {stop, Ref} ->
         Parent ! {stopped, Ref, Counter + 1}
     after 0 ->
-        ok = timer:sleep(50),
+        ok = timer:sleep(500),
         writer_loop(Db, Parent, Counter + 1)
     end.
 


Mime
View raw message