couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/4] couch commit: updated refs/heads/master to aa5d63f
Date Wed, 27 May 2015 18:17:48 GMT
Repository: couchdb-couch
Updated Branches:
  refs/heads/master bd00fa9ab -> aa5d63fce


Include lager into list of extra apps when testing

Starting lager as `lager:start` is an issue since dependencies
started by lager are not included in a list of started applications
so we don't stop them after we are done with current test.

This commit uses test_util:start_applications so all deps of lager are
included into #test_context{}

COUCHDB-2688


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

Branch: refs/heads/master
Commit: 670bafcb1855a8959a820f1d0f5eaa88c462f23b
Parents: 65ed085
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Thu May 14 08:57:42 2015 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Thu May 14 08:57:42 2015 -0700

----------------------------------------------------------------------
 src/test_util.erl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/670bafcb/src/test_util.erl
----------------------------------------------------------------------
diff --git a/src/test_util.erl b/src/test_util.erl
index f0ef82a..8d4d08b 100644
--- a/src/test_util.erl
+++ b/src/test_util.erl
@@ -69,10 +69,9 @@ start_couch(ExtraApps) ->
 start_couch(IniFiles, ExtraApps) ->
     load_applications_with_stats(),
     ok = application:set_env(config, ini_files, IniFiles),
-    ok = lager:start(),
 
     Apps = start_applications(
-        [inets, ibrowse, ssl, config, couch_event, couch]
+        [goldrush, lager, inets, ibrowse, ssl, config, couch_event, couch]
         ++ ExtraApps),
 
     #test_context{started = Apps}.


Mime
View raw message