You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ii...@apache.org on 2020/06/29 16:14:29 UTC

[couchdb] branch prototype/fdb-layer updated: Start all required deps automatically in test

This is an automated email from the ASF dual-hosted git repository.

iilyak pushed a commit to branch prototype/fdb-layer
in repository https://gitbox.apache.org/repos/asf/couchdb.git


The following commit(s) were added to refs/heads/prototype/fdb-layer by this push:
     new 844ee87  Start all required deps automatically in test
     new 7c3d752  Merge pull request #2972 from cloudant/start_deps_in_epi_tests
844ee87 is described below

commit 844ee87d8c2ecbc71a0979047bb4906bce8ddfbd
Author: ILYA Khlopotov <ii...@apache.org>
AuthorDate: Mon Jun 29 08:28:37 2020 -0700

    Start all required deps automatically in test
---
 src/couch_epi/test/eunit/couch_epi_tests.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/couch_epi/test/eunit/couch_epi_tests.erl b/src/couch_epi/test/eunit/couch_epi_tests.erl
index 12d8610..23b9e61 100644
--- a/src/couch_epi/test/eunit/couch_epi_tests.erl
+++ b/src/couch_epi/test/eunit/couch_epi_tests.erl
@@ -162,7 +162,8 @@ start_epi(Plugins) ->
         Module
     end, Plugins),
     application:set_env(couch_epi, plugins, PluginsModules),
-    application:start(couch_epi).
+    {ok, _} = application:ensure_all_started(couch_epi),
+    ok.
 
 setup(data_file) ->
     error_logger:tty(false),