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:47 GMT
Updated Branches:
  refs/heads/1.2.x 6b7359ca8 -> 3cd748091


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/3cd74809
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/3cd74809
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/3cd74809

Branch: refs/heads/1.2.x
Commit: 3cd748091b1fbc64647da7d5a3296f23c61d5b1e
Parents: 6b7359c
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:06:51 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/3cd74809/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