summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul J. Davis <paul.joseph.davis@gmail.com>2018-02-28 16:35:30 -0600
committerPaul J. Davis <paul.joseph.davis@gmail.com>2018-03-01 09:47:13 -0600
commit072004f24745425816fd02ca7a78c846a772bdf1 (patch)
treef5c3d494d72a6a1d63a9e8457d655bd3dcaac8fd
parent49d41949f59d39e3f1d24f76e8bf281dd17745f5 (diff)
downloadcouchdb-fix-pse-test-suite.tar.gz
Increase timeout for storage engine testsfix-pse-test-suite
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.
-rw-r--r--src/couch/src/test_engine_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couch/src/test_engine_util.erl b/src/couch/src/test_engine_util.erl
index c81acd03d..790fe30fe 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