diff options
author | Paul J. Davis <paul.joseph.davis@gmail.com> | 2018-02-28 16:35:30 -0600 |
---|---|---|
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | 2018-03-01 09:47:13 -0600 |
commit | 072004f24745425816fd02ca7a78c846a772bdf1 (patch) | |
tree | f5c3d494d72a6a1d63a9e8457d655bd3dcaac8fd | |
parent | 49d41949f59d39e3f1d24f76e8bf281dd17745f5 (diff) | |
download | couchdb-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.erl | 2 |
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 |