couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject couch commit: updated refs/heads/master to 4476595
Date Sat, 16 Jul 2016 10:21:31 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master b0d21d26d -> 4476595e0


test: use global test timeout macro, should fix test on slow ci vms


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

Branch: refs/heads/master
Commit: 4476595e028cde574c447024ed68c132203661e9
Parents: b0d21d2
Author: Jan Lehnardt <jan@apache.org>
Authored: Sat Jul 16 12:21:08 2016 +0200
Committer: Jan Lehnardt <jan@apache.org>
Committed: Sat Jul 16 12:21:24 2016 +0200

----------------------------------------------------------------------
 test/couchdb_compaction_daemon_tests.erl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/4476595e/test/couchdb_compaction_daemon_tests.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_compaction_daemon_tests.erl b/test/couchdb_compaction_daemon_tests.erl
index 3228031..4c35fb7 100644
--- a/test/couchdb_compaction_daemon_tests.erl
+++ b/test/couchdb_compaction_daemon_tests.erl
@@ -211,7 +211,7 @@ wait_compaction_started(DbName) ->
             true ->  ok
         end
     end,
-    case test_util:wait(WaitFun, 10000) of
+    case test_util:wait(WaitFun, ?TIMEOUT) of
         timeout ->
             erlang:error({assertion_failed,
                           [{module, ?MODULE},
@@ -228,7 +228,7 @@ wait_compaction_finished(DbName) ->
             false -> ok
         end
     end,
-    case test_util:wait(WaitFun, 10000) of
+    case test_util:wait(WaitFun, ?TIMEOUT) of
         timeout ->
             erlang:error({assertion_failed,
                           [{module, ?MODULE},


Mime
View raw message