couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject [couchdb] branch master updated: Increase timeout for storage engine tests
Date Thu, 01 Mar 2018 22:39:52 GMT
This is an automated email from the ASF dual-hosted git repository.

davisp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/master by this push:
     new fdc7a26  Increase timeout for storage engine tests
fdc7a26 is described below

commit fdc7a26471d8bbcb40db23c3d7b81514f56cba35
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
AuthorDate: Wed Feb 28 16:35:30 2018 -0600

    Increase timeout for storage engine tests
    
    The compaction test takes quite a long time on purpose to show that we
    can run a compaction that has many batches. On resource constrained
    build machines like Jenkins and TravisCI this can end up taking longer
    than the default 5s timeout.
---
 src/couch/src/test_engine_util.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/couch/src/test_engine_util.erl b/src/couch/src/test_engine_util.erl
index c81acd0..790fe30 100644
--- a/src/couch/src/test_engine_util.erl
+++ b/src/couch/src/test_engine_util.erl
@@ -58,7 +58,7 @@ gather(Module) ->
         case {atom_to_list(Fun), Arity} of
             {[$c, $e, $t, $_ | _], 0} ->
                 TestFun = make_test_fun(Module, Fun),
-                [{spawn, TestFun} | Acc];
+                [{timeout, 60, {spawn, TestFun}} | Acc];
             _ ->
                 Acc
         end

-- 
To stop receiving notification emails like this one, please contact
davisp@apache.org.

Mime
View raw message