You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2016/01/27 12:29:47 UTC

[1/3] config commit: updated refs/heads/master to a2d5ad2

Repository: couchdb-config
Updated Branches:
  refs/heads/master 84197a6f1 -> a2d5ad2ee


Remove unnecessary application dependencies

This removes all but the minimum applications necessary to pass the tests.

Previously, references to some extra applications such as lager would cause
test failures in downstream builds which omitted those applications.

COUCHDB-2866


Project: http://git-wip-us.apache.org/repos/asf/couchdb-config/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-config/commit/71f4e3cd
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-config/tree/71f4e3cd
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-config/diff/71f4e3cd

Branch: refs/heads/master
Commit: 71f4e3cd2af8745eae61bbb71d538017df816fdf
Parents: 84197a6
Author: Jay Doane <ja...@gmail.com>
Authored: Wed Jan 20 20:48:24 2016 -0800
Committer: Jay Doane <ja...@gmail.com>
Committed: Wed Jan 20 20:48:24 2016 -0800

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


http://git-wip-us.apache.org/repos/asf/couchdb-config/blob/71f4e3cd/test/config_tests.erl
----------------------------------------------------------------------
diff --git a/test/config_tests.erl b/test/config_tests.erl
index 995d285..d329bc9 100644
--- a/test/config_tests.erl
+++ b/test/config_tests.erl
@@ -37,8 +37,7 @@
         FileName
     end).
 
--define(DEPS, [couch_stats, couch_log, folsom, lager,
-               goldrush, syntax_tools, compiler, config]).
+-define(DEPS, [couch_stats, couch_log, config]).
 
 
 setup() ->


[2/3] config commit: updated refs/heads/master to a2d5ad2

Posted by kx...@apache.org.
Don't set real log levels in tests

Setting the actual "log" "level" in tests triggers extraneous logging,
which is undesirable to have interleaved into test output.


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

Branch: refs/heads/master
Commit: b208836f059761ee24dea888a93efa1530d89b9c
Parents: 71f4e3c
Author: Jay Doane <ja...@gmail.com>
Authored: Thu Jan 21 21:40:14 2016 -0800
Committer: Jay Doane <ja...@gmail.com>
Committed: Thu Jan 21 21:40:14 2016 -0800

----------------------------------------------------------------------
 test/config_tests.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-config/blob/b208836f/test/config_tests.erl
----------------------------------------------------------------------
diff --git a/test/config_tests.erl b/test/config_tests.erl
index d329bc9..50972d4 100644
--- a/test/config_tests.erl
+++ b/test/config_tests.erl
@@ -256,8 +256,8 @@ should_return_any_supported_default() ->
 should_update_option() ->
     ?_assertEqual("severe",
         begin
-            ok = config:set("log", "level", "severe", false),
-            config:get("log", "level")
+            ok = config:set("mock_log", "level", "severe", false),
+            config:get("mock_log", "level")
         end).
 
 should_create_new_section() ->
@@ -275,8 +275,8 @@ should_fail_to_set_binary_value() ->
 should_return_undefined_atom_after_option_deletion() ->
     ?_assertEqual(undefined,
         begin
-            ok = config:delete("log", "level", false),
-            config:get("log", "level")
+            ok = config:delete("mock_log", "level", false),
+            config:get("mock_log", "level")
         end).
 
 should_be_ok_on_deleting_unknown_options() ->


[3/3] config commit: updated refs/heads/master to a2d5ad2

Posted by kx...@apache.org.
Merge remote-tracking branch 'github/pr/7'


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

Branch: refs/heads/master
Commit: a2d5ad2eedc960248b806f61df0a1009462bdb46
Parents: 84197a6 b208836
Author: Alexander Shorin <kx...@apache.org>
Authored: Wed Jan 27 14:29:23 2016 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Wed Jan 27 14:29:23 2016 +0300

----------------------------------------------------------------------
 test/config_tests.erl | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------