You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by be...@apache.org on 2014/02/13 17:43:32 UTC

[30/50] lager commit: updated refs/heads/import-master to da4419e

Fix test run on OSX


Project: http://git-wip-us.apache.org/repos/asf/couchdb-lager/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-lager/commit/6ab08dc0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-lager/tree/6ab08dc0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-lager/diff/6ab08dc0

Branch: refs/heads/import-master
Commit: 6ab08dc097bbd89bcc7120fcf8c814a0e43a6c4d
Parents: 4c7bd96
Author: Andrew Thompson <an...@hijacked.us>
Authored: Fri Jan 24 00:28:27 2014 -0500
Committer: Andrew Thompson <an...@hijacked.us>
Committed: Fri Jan 24 00:28:27 2014 -0500

----------------------------------------------------------------------
 src/lager_util.erl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-lager/blob/6ab08dc0/src/lager_util.erl
----------------------------------------------------------------------
diff --git a/src/lager_util.erl b/src/lager_util.erl
index 9980fb2..6654dd9 100644
--- a/src/lager_util.erl
+++ b/src/lager_util.erl
@@ -588,6 +588,7 @@ rotate_file_fail_test() ->
     ok.
 
 check_trace_test() ->
+    lager:start(),
     trace_filter(none),
     %% match by module
     ?assertEqual([foo], check_traces([{module, ?MODULE}], ?EMERGENCY, [
@@ -628,7 +629,7 @@ check_trace_test() ->
                 {[{module, '*'}], config_to_mask('!=info'), anythingbutinfo},
                 {[{module, '*'}], config_to_mask('!=notice'), anythingbutnotice}
                 ], [])),
-
+    application:stop(lager),
     ok.
 
 is_loggable_test_() ->